[ https://issues.apache.org/jira/browse/KAFKA-16945?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17854578#comment-17854578 ]
Matthias J. Sax commented on KAFKA-16945: ----------------------------------------- I did not look... :P Found https://issues.apache.org/jira/browse/KAFKA-13561 but it only mentions `builder(Properties)` but nothing about `TopologyConfig` so I'll go ahead an close as this ticket is more generic. > Cleanup StreamsBuilder and TopologyConfig > ----------------------------------------- > > Key: KAFKA-16945 > URL: https://issues.apache.org/jira/browse/KAFKA-16945 > Project: Kafka > Issue Type: Improvement > Components: streams > Reporter: Matthias J. Sax > Priority: Minor > Labels: needs-kip > > Historically, Kafka Streams offers two ways to build a topology: either via > the PAPI by creating a `new Topology()` explicitly, or via the > `StreamsBuilder` which returns a topology via `build()` method. > We later added an overload `build(Properties)` to enable topology > optimizations for the DSL layer. > Furthermore, we also added `TopologyConfig` object, which can be passed into > `new Topology(TopologyConfig)` as well as `StreamsBuilder(TopologyConfig)`. > We should consider to unify the different approaches to simplify the rather > complex API we have right now. -- This message was sent by Atlassian Jira (v8.20.10#820010)