KIP-36 — Rack aware replica assignment
Accepted Broker
Adds a broker.rack configuration and rack-aware replica assignment logic that spreads partition replicas across as many distinct racks as possible when creating or reassigning partitions. Without rack awareness, Kafka's replica placement was purely broker-count-balanced and could place all replicas in the same rack, losing fault isolation for a full rack failure (e.g., an AWS availability zone outage).
Protocol Impact
Details
| Author | Allen Wang |
| Status | Accepted |
| JIRA | KAFKA-3100 |
| Wiki | View on Apache Wiki |
| Created | 2015-09-27 |
| Last Modified | 2016-03-04 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.