conduktor.io ↗

Kafka Error MESSAGE_TOO_LARGE

Error code 10 · Non-retriable Producer

The request included a message larger than the max message size the server will accept.

Common Causes

Solutions

Diagnostic Commands

# Check topic message size limits kafka-configs.sh --bootstrap-server localhost:9092 --entity-type topics --entity-name <topic> --describe | grep message.bytes # Check broker message size limits kafka-configs.sh --bootstrap-server localhost:9092 --entity-type brokers --entity-name <broker-id> --describe | grep message.max

Related APIs

This error can be returned by: EndTxn · InitProducerId · Produce · WriteTxnMarkers

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