kafka
runtime_error
ai_generated
true
ConsumerRebalanceException: group is rebalancing
ID: kafka/consumer-group-rebalance
75%Fix Rate
80%Confidence
3Evidence
2023-01-01First Seen
Version Compatibility
| Version | Status | Introduced | Deprecated | Notes |
|---|---|---|---|---|
| 3 | active | — | — | — |
Root Cause
Consumer group rebalancing causing processing delay.
genericWorkarounds
-
88% success Tune max.poll.interval.ms and max.poll.records
-
90% success Use cooperative-sticky assignor to reduce rebalance impact
partition.assignment.strategy=CooperativeStickyAssignor
Dead Ends
Common approaches that don't work:
-
Set session.timeout.ms very high
80% fail
Delays detection of dead consumers
-
Disable auto-commit and never commit
85% fail
Reprocesses all messages on restart