KIP-1113 — Enhancements to Rack-Aware Partition Assignor for Improved Client-Side Independence and Load Balancing
Discussion Consumer
KIP-1113 introduces `LeaderRackAwareCooperativeStickyAssignor` and `LeaderRackAwareRangeAssignor` partition assignors that assign partitions to consumers based on the rack of the partition's leader replica rather than follower replicas, always reading from the leader. The existing rack-aware assignor relies on `replica.selector.class=RackAwareReplicaSelector` on the broker (a broker-side config) and reads from follower replicas, violating Kafka's read-write consistency model and coupling client-side assignment strategy to broker configuration.
Details
| Author | Jerry Cai |
| Status | Discussion |
| JIRA | KAFKA-17755 |
| Wiki | View on Apache Wiki |
| Created | 2024-11-17 |
| Last Modified | 2024-11-22 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.