Confluent
CCAAK · Question #106
What is the primary role of a Controller broker in an Apache Kafka® cluster?
The correct answer is C. Manage the assignment of partitions to brokers. The controller broker manages partition leadership and assignments. It coordinates which broker is the leader for each partition and handles leader elections when brokers fail, ensuring cluster stability and availability.
Managing Brokers and Clusters
Question
What is the primary role of a Controller broker in an Apache Kafka® cluster?
Options
- AManage the replication of data across brokers
- BHandle all client requests and responses
- CManage the assignment of partitions to brokers
- DStore and retrieve messages for consumers
How the community answered
(56 responses)- A4% (2)
- B9% (5)
- C71% (40)
- D16% (9)
Explanation
The controller broker manages partition leadership and assignments. It coordinates which broker is the leader for each partition and handles leader elections when brokers fail, ensuring cluster stability and availability.
Topics
#Controller broker#partition assignment#broker roles#cluster management
Community Discussion
No community discussion yet for this question.