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

Consider deprecating `StreamsBuilder#build(props)` function

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • streams

    Description

      With https://cwiki.apache.org/confluence/display/KAFKA/KIP-591%3A+Add+Kafka+Streams+config+to+set+default+state+store being accepted that introduced the new `StreamsBuilder(TopologyConfig)` constructor, we can consider deprecating the `StreamsBuilder#build(props)` function now. There are still a few things we'd need to do:

      1. Copy the `StreamsConfig.TOPOLOGY_OPTIMIZATION_CONFIG` to TopologyConfig.
      2. Make sure the overloaded `StreamsBuilder()` constructor takes in default values of TopologyConfig.

      Attachments

        Activity

          People

            Unassigned Unassigned
            guozhang Guozhang Wang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: