Upon detecting a broker failure, the Controller performs leader election among in-sync replicas and updates the new leader and ISR information in ZooKeeper. It then broadcasts this metadata update to all brokers in the cluster.
From Kafka documentation:
“The controller writes the new leader and ISR list to ZooKeeper and informs all brokers so they can update their metadata cache.”
B → Correct: New metadata written to ZooKeeper.
C → Correct: Brokers are updated via metadata propagation.
A → Incorrect: The Controller makes the decision, not ZooKeeper.
D → Incorrect: Producers and consumers learn about changes via brokers, not directly.
Page Reference:
Kafka: The Definitive Guide, 1st Edition, Chapter 6, p. 190–191
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit