conduktor.io ↗

Kafka Error INVALID_FETCH_SESSION_EPOCH

Error code 71 · Retriable Consumer

The fetch session epoch is invalid.

Common Causes

Solutions

Diagnostic Commands

# Look for fetch session events in logs grep 'InvalidFetchSessionEpoch\|fetch.session.epoch\|INVALID_FETCH_SESSION_EPOCH' /path/to/kafka/logs/server.log | tail -20 # Show consumer group member assignments kafka-consumer-groups.sh --bootstrap-server localhost:9092 --describe --group <groupId> | grep -E 'LAG|CONSUMER-ID'

Related APIs

This error can be returned by: Fetch

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