conduktor.io ↗

Kafka Exception UnsupportedForMessageFormatException

org.apache.kafka.common.errors.UnsupportedForMessageFormatException
Non-retriable Producer

The message format version does not support the requested function. For example, if idempotence is requested and the topic is using a message format older than 0.11.0.0, then this error will be returned.

Common Causes

Solutions

Example Stack Trace

org.apache.kafka.common.errors.UnsupportedForMessageFormatException: The message format version on the broker does not support the request.

Diagnostic Commands

# Check topic message format version kafka-configs.sh --bootstrap-server localhost:9092 --entity-type topics --entity-name <topic> --describe | grep message.format # Check broker protocol version settings kafka-configs.sh --bootstrap-server localhost:9092 --entity-type brokers --entity-default --describe | grep -E 'log.message.format|inter.broker.protocol'

Related

Protocol error: UNSUPPORTED_FOR_MESSAGE_FORMAT (code 43)

Related Producer exceptions: BufferExhaustedException · InvalidProducerEpochException · OutOfOrderSequenceException · RecordBatchTooLargeException · RecordTooLargeException · TransactionAbortedException · UnknownProducerIdException

Hitting UnsupportedForMessageFormatException in production? Conduktor Console gives you real-time visibility into clients, consumer groups, and broker health. Browse every Kafka exception or protocol error code.