Recall & Review
beginner
What is eager rebalancing in Kafka consumer groups?
Eager rebalancing means all consumers in a group stop consuming, revoke all partitions, and then rebalance partitions from scratch. It causes a full pause in processing during rebalancing.
Click to reveal answer
beginner
What is cooperative rebalancing in Kafka consumer groups?
Cooperative rebalancing allows consumers to gradually give up partitions and assign new ones without stopping all consumption. It reduces downtime by doing partial rebalances.
Click to reveal answer
intermediate
Name one advantage of cooperative rebalancing over eager rebalancing.
Cooperative rebalancing reduces the time consumers are paused, so it improves availability and reduces message processing delays during rebalances.
Click to reveal answer
intermediate
What is a potential downside of cooperative rebalancing?
Cooperative rebalancing can be more complex and may require consumers to support incremental cooperative rebalance protocol.
Click to reveal answer
intermediate
In Kafka, which rebalancing strategy requires consumers to implement the incremental cooperative protocol?
The cooperative rebalancing strategy requires consumers to implement the incremental cooperative protocol to allow gradual partition handoff.
Click to reveal answer
What happens during eager rebalancing in Kafka consumer groups?
✗ Incorrect
Eager rebalancing pauses all consumers and revokes all partitions before reassigning them.
Which rebalancing method reduces downtime during partition reassignment?
✗ Incorrect
Cooperative rebalancing allows gradual partition handoff, reducing downtime.
What must consumers support to use cooperative rebalancing?
✗ Incorrect
Consumers must support the incremental cooperative protocol for cooperative rebalancing.
Which is a disadvantage of eager rebalancing?
✗ Incorrect
Eager rebalancing causes a longer pause because all consumers stop before rebalancing.
Cooperative rebalancing is best described as:
✗ Incorrect
Cooperative rebalancing gradually reassigns partitions without stopping all consumers.
Explain the difference between cooperative and eager rebalancing in Kafka consumer groups.
Think about how consumers handle partitions during rebalancing.
You got /4 concepts.
What are the benefits and challenges of using cooperative rebalancing?
Consider both technical advantages and implementation complexity.
You got /3 concepts.