Bird
0
0

How can you combine cooperative rebalancing with static membership to improve Kafka consumer group stability?

hard📝 Application Q9 of 15
Kafka - Consumer Groups
How can you combine cooperative rebalancing with static membership to improve Kafka consumer group stability?
AUse static membership to reduce unnecessary rebalances and cooperative rebalancing to minimize partition revokes.
BUse static membership to disable rebalancing and cooperative rebalancing to assign partitions eagerly.
CUse static membership to increase session timeout and cooperative rebalancing to commit offsets automatically.
DUse static membership to assign partitions manually and cooperative rebalancing to disable heartbeats.
Step-by-Step Solution
Solution:
  1. Step 1: Understand static membership benefits

    Static membership reduces unnecessary rebalances by identifying consumers uniquely.
  2. Step 2: Combine with cooperative rebalancing

    Cooperative rebalancing minimizes partition revokes during rebalances, improving stability.
  3. Step 3: Eliminate incorrect options

    Static membership does not disable rebalancing or assign partitions manually; cooperative rebalancing does not disable heartbeats or control offset commits.
  4. Final Answer:

    Use static membership to reduce unnecessary rebalances and cooperative rebalancing to minimize partition revokes. -> Option A
  5. Quick Check:

    Combine static membership + cooperative = B [OK]
Quick Trick: Static membership + cooperative = stable, minimal rebalances [OK]
Common Mistakes:
  • Thinking static membership disables rebalancing
  • Confusing offset commits with rebalancing
  • Assuming manual partition assignment with static membership

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes