DE Mastery GitHub

Apache Kafka · KFK-11

Cluster configuration & partition reassignment

From your world. Redshift WLM queues / slot rebalancing: moving work to even out load without a full reload

Practice quiz with instant feedback. For a scored run that counts toward your local progress, use uv run de quiz KFK-11.

1In the replica list [2, 0, 1] of a partition, what is the role of broker 2?
2Why can the replica list of a partition not contain the same broker twice?
3You move partition P from replicas [0,1] onto the broker set {0,2}. Which assignment moves the LEAST data?
4broker.rack is configured and the replication factor is 3 across 3 racks. How should the replicas of a partition be placed?
5What is the purpose of the --throttle option of kafka-reassign-partitions.sh?
6After --execute, how do you confirm that a reassignment has finished?
7min.insync.replicas=2 with producer acks=all on a topic with replication factor 3. A produce succeeds when:
8A teammate 'rebalances' a healthy cluster. The teammate generates a brand-new assignment for every partition. What is the risk?