Grokking the System Design Interview, Volume II
0% completed
Controller Broker
A Kafka cluster runs many brokers side by side. A few jobs only make sense with one owner. That owner creates topics, assigns who leads each partition, and notices when a broker has stopped answering. Kafka gives all of that work to a single broker, the controller.
What is the controller broker?
One broker in the cluster is elected the controller. Admin work runs through it: creating or deleting a topic, adding partitions, and assigning each partition's leader.
The controller also watches every other broker's health, checking it on a schedule
.....
.....
.....
Like the course? Get enrolled and start learning!
Reading Progress
0%