conduktor.io ↗

Kafka Error STALE_CONTROLLER_EPOCH

Error code 11 · Non-retriable KRaft

The controller moved to another broker.

Common Causes

Solutions

Diagnostic Commands

# Look for controller election events in logs grep -E 'Elected as controller|Resigned as controller|StaleControllerEpoch' /var/log/kafka/server.log /var/log/kafka/controller.log 2>/dev/null | tail -20 # Check quorum or controller status kafka-metadata-quorum.sh --bootstrap-server localhost:9092 describe --status 2>/dev/null || true
Debugging Kafka errors? Conduktor Console gives you real-time visibility into your cluster. Explore all errors in the Error Decoder.