conduktor.io ↗

Kafka Error OFFSET_OUT_OF_RANGE

Error code 1 · Non-retriable Consumer

The requested offset is not within the range of offsets maintained by the server.

Common Causes

Solutions

Diagnostic Commands

# Describe consumer group offsets and lag kafka-consumer-groups.sh --bootstrap-server localhost:9092 --group <group> --describe # Check earliest and latest offsets for the topic kafka-get-offsets.sh --bootstrap-server localhost:9092 --topic <topic> --time -2 # Check latest offsets kafka-get-offsets.sh --bootstrap-server localhost:9092 --topic <topic> --time -1

Related APIs

This error can be returned by: DeleteRecords · Fetch · ListOffsets

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