Bird
0
0

You have a Kafka consumer group using cooperative rebalancing but notice long pauses during rebalances. What is a likely cause?

medium📝 Debug Q14 of 15
Kafka - Consumer Groups
You have a Kafka consumer group using cooperative rebalancing but notice long pauses during rebalances. What is a likely cause?
APartitions are being reassigned gradually as expected.
BThe consumer group has only one consumer.
CConsumers are using the eager assignor instead of cooperative assignor.
DThe rebalance timeout is set too low.
Step-by-Step Solution
Solution:
  1. Step 1: Check the assignor configuration

    If long pauses occur despite expecting cooperative rebalancing, the consumers might be using the eager assignor by mistake.
  2. Step 2: Understand the impact of eager assignor

    Eager assignor causes all partitions to reassign at once, leading to longer pauses.
  3. Final Answer:

    Consumers are using the eager assignor instead of cooperative assignor. -> Option C
  4. Quick Check:

    Long pauses + cooperative expected = eager assignor used [OK]
Quick Trick: Long pauses mean eager assignor, not cooperative [OK]
Common Mistakes:
  • Assuming gradual reassignment causes long pauses
  • Ignoring assignor configuration
  • Blaming rebalance timeout without checking assignor

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes