KIP-698 — Add Explicit User Initialization of Broker-side State to Kafka Streams
Accepted Streams
KIP-698 adds a `KafkaStreams.cleanUp()` equivalent `addBrokerSideInitialization()` method and an `internal.topics.creation.mode` config (ENABLED/DISABLED) that allows users to pre-create internal topics (repartition, changelog) explicitly before the first application run. Previously, internal topics were silently recreated as empty topics when deleted between rebalances, causing undetected data loss without any user notification.
Details
| Author | Bruno Cadonna |
| Status | Accepted |
| JIRA | KAFKA-10357 |
| Wiki | View on Apache Wiki |
| Created | 2020-11-30 |
| Last Modified | 2021-01-29 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.