You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Guozhang Wang (Jira)" <ji...@apache.org> on 2021/12/21 19:12:00 UTC
[jira] [Created] (KAFKA-13561) Consider deprecating `StreamsBuilder#build(props)` function
Guozhang Wang created KAFKA-13561:
-------------------------------------
Summary: Consider deprecating `StreamsBuilder#build(props)` function
Key: KAFKA-13561
URL: https://issues.apache.org/jira/browse/KAFKA-13561
Project: Kafka
Issue Type: Improvement
Reporter: Guozhang Wang
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.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)