conduktor.io ↗

Kafka Error INVALID_TIMESTAMP

Error code 32 · Non-retriable Producer

The timestamp of the message is out of acceptable range.

Common Causes

Solutions

Diagnostic Commands

# Check topic timestamp configuration kafka-configs.sh --bootstrap-server localhost:9092 --entity-type topics --entity-name <topic> --describe | grep timestamp # Search logs for related error messages timedatectl show --property=NTPSynchronized,TimeUSec && chronyc tracking 2>/dev/null | grep 'RMS offset'

Related APIs

This error can be returned by: Produce

Related KIPs

KIP-937

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