conduktor.io ↗

KIP-166 — Add a tool to make amounts of replicas and leaders on brokers balanced

Discussion AdminBroker

Proposes a `kafka-replica-balancer.sh` tool that rebalances the distribution of partition replicas and preferred leaders evenly across all brokers. After broker additions, decommissions, or rolling restarts, replicas become imbalanced (some brokers hold more leaders than others), degrading throughput; the existing `kafka-preferred-replica-election.sh` only elects preferred leaders without rebalancing replica assignment.

Details

AuthorMa Tianchi
StatusDiscussion
JIRAKAFKA-5319
WikiView on Apache Wiki
Created2017-06-01
Last Modified2017-06-22
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.