conduktor.io ↗

KIP-733 — change Kafka Streams default replication factor config

Accepted Kafka 3.0 Streams

Changes the default value of `replication.factor` in Kafka Streams from `1` to `-1` (use broker default) to align with the broker-side default replication factor. The hardcoded default of `1` is unsafe for production—users must remember to override it—while `-1` (available since Kafka 2.4, KIP-464) delegates to the broker's `default.replication.factor`.

Details

AuthorMatthias J. Sax
StatusAccepted
Kafka Version3.0
JIRAKAFKA-8531
WikiView on Apache Wiki
Created2021-04-14
Last Modified2021-05-05
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.