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
| Author | Matthias J. Sax |
| Status | Accepted |
| Kafka Version | 3.0 |
| JIRA | KAFKA-8531 |
| Wiki | View on Apache Wiki |
| Created | 2021-04-14 |
| Last Modified | 2021-05-05 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.