Confluent
CCDAK · Question #31
How does a consumer commit offsets in Kafka?
The correct answer is B. It interacts with the Group Coordinator broker. Consumers do not directly write to the __consumer_offsets topic, they instead interact with a broker that has been elected to manage that topic, which is the Group Coordinator broker.
Developing Kafka Consumers
Question
How does a consumer commit offsets in Kafka?
Options
- AIt directly sends a message to the __consumer_offsets topic
- BIt interacts with the Group Coordinator broker
- CIt directly commits the offsets in Zookeeper
How the community answered
(48 responses)- A6% (3)
- B92% (44)
- C2% (1)
Explanation
Consumers do not directly write to the __consumer_offsets topic, they instead interact with a broker that has been elected to manage that topic, which is the Group Coordinator broker.
Topics
#offset commit#group coordinator#__consumer_offsets#offset management
Community Discussion
No community discussion yet for this question.