Skip to content

AxonOps — AI-Native Control Plane for Open Source Data Platforms

Kafka Troubleshooting Playbooks

These playbooks provide focused response sequences for production incidents. They cover Kafka 4.x KRaft clusters and label release-specific behavior.

Use the playbook that matches the observed symptom. Start with read-only evidence collection, contain the impact, apply the smallest safe recovery action, and verify the original workload.

PlaybookUse it when
No active controllerKRaft has no leader or metadata operations stall
Broker will not startA broker exits, loops, or never registers
Offline partitionsPartitions have no leader
Under-replicated partitionsFollowers leave the ISR or cannot catch up
Disk or log-directory failureA volume fills, fails, or becomes too slow
High broker latencyProduce/fetch latency or request queues rise
PlaybookUse it when
Client cannot connectBootstrap, metadata, or advertised endpoints fail
Authentication or authorization failureTLS, SASL, OAuth, or ACL checks fail
Producer timeoutsRecords expire or producer calls block
Consumer lagA group falls behind
Rebalance stormA group repeatedly revokes and reassigns work
Offset out of rangeRetention or bad seeks invalidate an offset
Transaction failuresProducers are fenced or commits fail
Share-group failuresAcquisition, acknowledgement, or DLQ behavior fails
PlaybookUse it when
Kafka Connect task failureA connector or task enters FAILED state
Kafka Streams state recoveryRestore loops, state stores, or changelogs fail
Tiered-storage failureRemote copy, fetch, or delete operations fail
  1. Preserve logs, metrics, exceptions, and command output before restarting.
  2. Never format storage, delete metadata, reset offsets, or run an unclean election as an exploratory step.
  3. Use --command-config for secured clusters and protect the properties file.
  4. Record every temporary configuration change with an owner and rollback condition.
  5. Verify the user-visible workload, not only the administrative command.

See Diagnosis for read-only command sequences and Log analysis for evidence correlation.