redis
performance_error
ai_generated
true
Warning: Consumer group lag exceeds threshold
ID: redis/stream-consumer-lag
82%Fix Rate
84%Confidence
3Evidence
2023-01-01First Seen
Version Compatibility
| Version | Status | Introduced | Deprecated | Notes |
|---|---|---|---|---|
| 7 | active | — | — | — |
Root Cause
Redis Streams consumer group falling behind producers, growing pending list.
genericWorkarounds
-
88% success Add more consumers to the consumer group
XREADGROUP GROUP grp consumer-N COUNT 100 BLOCK 0 STREAMS mystream >
-
82% success Claim old pending messages with XAUTOCLAIM
XAUTOCLAIM mystream grp consumer-1 36000000 0-0 COUNT 100
Dead Ends
Common approaches that don't work:
-
Increase BLOCK timeout to wait longer
70% fail
Blocking longer does not help catch up with backlog.
-
Delete and recreate consumer group
85% fail
Loses all pending message tracking and acknowledgments.