Bird
0
0

What does enabling static group membership in Kafka help to prevent?

easy📝 Conceptual Q1 of 15
Kafka - Consumer Groups

What does enabling static group membership in Kafka help to prevent?

AData loss during consumer failure
BFrequent rebalancing when a consumer restarts
CMessage duplication in topics
DIncreased network latency
Step-by-Step Solution
Solution:
  1. Step 1: Understand static group membership concept

    Static group membership uses a fixed group.instance.id to identify consumers uniquely.
  2. Step 2: Effect on consumer group behavior

    This prevents unnecessary rebalancing when a consumer restarts because Kafka recognizes it as the same member.
  3. Final Answer:

    Frequent rebalancing when a consumer restarts -> Option B
  4. Quick Check:

    Static group membership prevents rebalancing = C [OK]
Quick Trick: Static membership stops rebalancing on restarts [OK]
Common Mistakes:
  • Confusing static membership with message duplication prevention
  • Thinking it prevents data loss
  • Assuming it reduces network latency

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes