Kafka - Consumer GroupsYou 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.Check Answer
Step-by-Step SolutionSolution:Step 1: Check the assignor configurationIf long pauses occur despite expecting cooperative rebalancing, the consumers might be using the eager assignor by mistake.Step 2: Understand the impact of eager assignorEager assignor causes all partitions to reassign at once, leading to longer pauses.Final Answer:Consumers are using the eager assignor instead of cooperative assignor. -> Option CQuick 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 pausesIgnoring assignor configurationBlaming rebalance timeout without checking assignor
Master "Consumer Groups" in Kafka9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More Kafka Quizzes Consumers - Auto-commit vs manual commit - Quiz 12easy Kafka Basics and Event Streaming - Kafka CLI tools overview - Quiz 13medium Producers - Message key and value - Quiz 4medium Producers - Acknowledgment modes (acks=0, 1, all) - Quiz 7medium Producers - Acknowledgment modes (acks=0, 1, all) - Quiz 6medium Producers - Acknowledgment modes (acks=0, 1, all) - Quiz 4medium Topics and Partitions - Partition ordering guarantees - Quiz 9hard Topics and Partitions - Topic configuration - Quiz 4medium Topics and Partitions - Retention policies (time-based, size-based) - Quiz 9hard Topics and Partitions - Partition key and routing - Quiz 4medium