[ https://issues.apache.org/jira/browse/KAFKA-16945?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17854565#comment-17854565 ]
A. Sophie Blee-Goldman commented on KAFKA-16945: ------------------------------------------------ [~mjsax] are you sure we don't already have a ticket for this (possibly even two)? Otherwise I wholeheartedly agree with this, the current state of things is so messy > 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)