default.replication.factor — Kafka Broker Configuration
The default replication factor per topic. This configuration affects the following paths:1
Description
The default replication factor per topic. This configuration affects the following paths:1. Auto topic creation2. Internal streams topic creation3. Topic creation via AdminClient#createTopics when the replication factor is set to -1For (1), the value from the broker configuration is used only when it is explicitly set. If it is not explicitly configured on the broker, the value from the controller configuration is used.For (2) and (3), the value from the controller configuration is always used.
Default Values by Kafka Version
| Component | Kafka version line | Documented default |
|---|---|---|
| Broker | 0.8.0 | 1 |
| Broker | 0.8.1 | 1 |
| Broker | 0.8.2 | 1 |
| Broker | 0.9.0 | 1 |
| Broker | 0.10.0 | 1 |
| Broker | 0.10.1 | 1 |
| Broker | 0.10.2 | 1 |
| Broker | 0.11.0 | 1 |
| Broker | 1.0 | 1 |
| Broker | 1.1 | 1 |
| Broker | 2.0 | 1 |
| Broker | 2.1 | 1 |
| Broker | 2.2 | 1 |
| Broker | 2.3 | 1 |
| Broker | 2.4 | 1 |
| Broker | 2.5 | 1 |
| Broker | 2.6 | 1 |
| Broker | 2.7 | 1 |
| Broker | 2.8 | 1 |
| Broker | 3.0 | 1 |
| Broker | 3.1 | 1 |
| Broker | 3.2 | 1 |
| Broker | 3.3 | 1 |
| Broker | 3.4 | 1 |
| Broker | 3.5 | 1 |
| Broker | 3.6 | 1 |
| Broker | 3.7 | 1 |
| Broker | 3.8 | 1 |
| Broker | 3.9 | 1 |
| Broker | 4.0 | 1 |
| Broker | 4.1 | 1 |
| Broker | 4.2 | 1 |
| Broker | 4.3 | 1 |
| Broker | 4.4 | 1 |
Tuning Recommendation
Workload-dependent proposals, not benchmarked defaults. Review the versioned Config Advisor before applying.
| Profile | Proposal | Rationale and tradeoff |
|---|---|---|
| broker / durability | 3 | Sets the default replica count for applicable automatically created topics. Three replicas can tolerate a single broker loss with a suitable minimum ISR. Tradeoff: It increases storage and replication traffic. Changing a default does not change existing topic replica assignments. Reference · 2026-10-27 |
Related Configs
log.flush.interval.messages · num.partitions · min.insync.replicas · unclean.leader.election.enable · num.replica.fetchers · auto.create.topics.enable