Bird
0
0

Why does Kafka use a group coordinator broker instead of having consumers coordinate directly?

hard📝 Conceptual Q10 of 15
Kafka - Consumer Groups
Why does Kafka use a group coordinator broker instead of having consumers coordinate directly?
ATo centralize group management and ensure consistent partition assignment
BTo reduce network traffic by avoiding broker involvement
CTo allow consumers to produce messages directly
DTo store all topic data centrally
Step-by-Step Solution
Solution:
  1. Step 1: Understand the purpose of group coordinator

    The group coordinator centralizes consumer group management, ensuring consistent and conflict-free partition assignments. Kafka uses brokers to manage groups; consumers do not produce messages; topic data storage is separate.
  2. Final Answer:

    To centralize group management and ensure consistent partition assignment -> Option A
  3. Quick Check:

    Group coordinator centralizes management for consistency [OK]
Quick Trick: Centralized coordination avoids conflicts in partition assignment [OK]
Common Mistakes:
  • Thinking consumers coordinate themselves
  • Assuming coordinator reduces network traffic
  • Confusing group coordinator with data storage

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes