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

Follow-up: Remove all unnecessary dummy TopologyTestDriver configs

    XMLWordPrintableJSON

Details

    Description

      After https://github.com/apache/kafka/pull/9477, we no longer need to specify dummy values for bootstrap servers and application id when creating a TopologyTestDriver.

       

      This task is to track down all those unnecessary parameters and delete them. You can consult the above pull request for some examples of this.

       

      Note that there are times when the application id is actually significant, since it is used in conjunction with the state directory to give the driver a unique place to store local state. On the other hand, it would be sufficient to just set a unique state directory and not bother with the app id in that case.

       

      During review, chia7712 pointed out that this comment (https://github.com/apache/kafka/blob/trunk/streams/test-utils/src/main/java/org/apache/kafka/streams/TopologyTestDriver.java#L138) can be removed since it is not necessary anymore. (It's the mention of the dummy params from the javadoc of the TopologyTestDriver)

      Attachments

        Issue Links

          Activity

            People

              showuon Luke Chen
              vvcephei John Roesler
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: