conduktor.io ↗

Kafka Error OFFSET_NOT_AVAILABLE

Error code 78 · Retriable Broker

The leader high watermark has not caught up from a recent leader election so the offsets cannot be guaranteed to be monotonically increasing.

Common Causes

Solutions

Diagnostic Commands

# Check for partitions without a leader kafka-topics.sh --bootstrap-server localhost:9092 --describe | grep -v 'Isr:.*Replicas' | grep 'Leader: -1\|UnderReplicated' # Check consumer group lag and offsets kafka-consumer-groups.sh --bootstrap-server localhost:9092 --describe --group <groupId> | grep -E 'LAG|CURRENT-OFFSET'

Related APIs

This error can be returned by: Fetch · ListOffsets

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