KIP-1138 — Clean up TopologyConfig and API for supplying configs needed by the topology
Accepted Streams
Cleans up the Kafka Streams configuration API by deprecating TopologyConfig and requiring topology-specific configs (topology.optimization, processor.wrapper.class, etc.) to be passed via StreamsConfig directly to both KafkaStreams and the topology builder. Topology-specific configs passed only to KafkaStreams were silently ignored at the topology level, and multiple partially-overlapping config APIs (TopologyConfig, StreamsBuilder constructor, Topology constructor) caused fragmentation and misconfiguration.
Details
| Author | Sébastien Viale |
| Status | Accepted |
| JIRA | KAFKA-18053 |
| Wiki | View on Apache Wiki |
| Created | 2025-02-26 |
| Last Modified | 2025-09-03 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.