conduktor.io ↗

Kafka Error UNKNOWN_LEADER_EPOCH

Error code 75 · Retriable Broker

The leader epoch in the request is newer than the epoch on the broker.

Common Causes

Solutions

Diagnostic Commands

# Check for under-replicated partitions kafka-topics.sh --bootstrap-server localhost:9092 --describe | grep -c 'UnderReplicated' # Look for related errors in broker logs grep 'UnknownLeaderEpoch\|UNKNOWN_LEADER_EPOCH' /path/to/kafka/logs/server.log | tail -20

Related APIs

This error can be returned by: Fetch · OffsetForLeaderEpoch

Debugging Kafka errors? Conduktor Console gives you real-time visibility into your cluster. Explore all errors in the Error Decoder.