dbaplus Community
Jan 14, 2023 · Backend Development
How to Minimize Data Movement When Scaling Kafka Replicas
This article explores strategies for batch scaling Kafka replicas with minimal data migration, presenting two design ideas, detailed calculations of broker lists, partition counts, start indexes, and replica shifts, and provides step‑by‑step algorithms and code snippets to compute optimal replica assignments for both expansion and contraction scenarios.
KafkaPartition AssignmentReplica Scaling
0 likes · 15 min read
