Kafka Error UNSUPPORTED_FOR_MESSAGE_FORMAT
Error code 43 · Non-retriable Producer
The message format version on the broker does not support the request.
Reviewed 2026-10-27 · 4.4.0 · source-reviewed. Source
Common Causes
- An operation requires a record format unsupported by the target data or older broker. The setting and upgrade path depend on the broker generation.
Solutions
- For Kafka 4.x, do not configure removed log.message.format.version, topic message.format.version or inter.broker.protocol.version options. Use the version-specific upgrade guide and feature-level tooling.
- For older clusters, verify the operation’s format requirement and follow that release’s documented broker/record-format upgrade sequence. Do not set every version knob to the client version.
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 APIs
This error can be returned by: Produce · WriteTxnMarkers
Java Exception
In the Java client this surfaces as UnsupportedForMessageFormatException.
Debugging Kafka errors? Conduktor Console gives you real-time visibility into your cluster. Explore all errors in the Error Decoder.