You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Matthias J. Sax (Jira)" <ji...@apache.org> on 2024/06/12 23:08:00 UTC
[jira] [Created] (KAFKA-16945) Cleanup StreamsBuilder and TopologyConfig
Matthias J. Sax created KAFKA-16945:
---------------------------------------
Summary: 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
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)