conduktor.io ↗

KIP-1151 — Minimal movement replica balancing algorithm for reassignment

Discussion BrokerAdmin

Proposes a minimal-movement replica balancing algorithm for `kafka-reassign-partitions.sh` that computes an assignment minimizing the number of replica relocations while still achieving even distribution across brokers. The current `kafka-reassign-partitions.sh --generate` algorithm does not consider the existing replica placement, producing assignments that move far more replicas than necessary and causing excessive bandwidth consumption during rebalancing.

Details

Authorpengjialun
StatusDiscussion
JIRAKAFKA-19048
WikiView on Apache Wiki
Created2025-03-27
Last Modified2025-04-22
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.