Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-1402

Create unit test helper that stops and starts a cluster

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      We have a zookeeper test harness. We used to have a kafka server test harness, but it looks like it has been deleted.

      Each test that wants to manage a server starts and stops it itself. This is a little problematic as it may not do a good job of cleaning up and there are lots of details to get right.

      We should have an EmbeddedKafkaCluster class like the EmbeddedZookeeper we have that starts N brokers and convert the existing full server classes to use this.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jkreps Jay Kreps
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: