Consumer Lag Triage

Diagnose a Kafka or similar partitioned-log consumer group that is lagging, rebalancing or stuck. Take two per-partition snapshots a minute apart using kafka-consumer-groups.sh --describe, compare offset and lag deltas, then read the pattern: lag growing everywhere while offsets advance (throughput deficit), one partition frozen (poison record), one slow (hot key or slow member), oscillating lag with rebalances (max.poll.interval.ms or session timeout), zero lag with missing data (offset reset after expiry). Use when you hear "consumer lag keeps growing", "the group keeps rebalancing", "CommitFailedException", "max.poll.interval.ms exceeded", "one partition is stuck", "lag only on some partitions". Not for consumer design and dead-letter policy (event-driven-reliability), key skew (hot-partition-hunt), running the incident (incident-response), sizing (capacity-planning).

greenblacked Updated
The twenty-nine plugins: coding, family, gamedev, operations, delivery, security, manager, personal, career, design, llm, data, techdocs, assurance, client-apps

File contents

greenblacked/AI commit ef50b1731d

Frequently asked questions

npx get-skill add greenblacked/consumer-lag-triage