Bird
0
0

What happens if the group coordinator broker fails while consumers are active?

medium📝 Predict Output Q5 of 15
Kafka - Consumer Groups
What happens if the group coordinator broker fails while consumers are active?
AConsumers stop consuming permanently
BA new broker is elected as group coordinator and rebalances the group
CMessages are lost from the topic
DConsumers automatically become producers
Step-by-Step Solution
Solution:
  1. Step 1: Understand fault tolerance of group coordinator

    If the group coordinator broker fails, Kafka elects a new broker as the coordinator to maintain group management. Consumers continue after rebalance; messages are not lost; consumers do not become producers.
  2. Final Answer:

    A new broker is elected as group coordinator and rebalances the group -> Option B
  3. Quick Check:

    Group coordinator failure triggers new election and rebalance [OK]
Quick Trick: Kafka elects new coordinator automatically on failure [OK]
Common Mistakes:
  • Thinking consumers stop permanently
  • Assuming message loss on coordinator failure
  • Confusing consumer and producer roles

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes