Help Center/ Distributed Message Service for Kafka/ FAQs/ Messages/ How Do I Modify message.max.bytes?
Updated on 2025-07-10 GMT+08:00

How Do I Modify message.max.bytes?

message.max.bytes can be modified on the Instance > Parameters page on the Kafka console. For details, see Modifying Kafka Instance Configuration Parameters.

The maximum value of message.max.bytes is 10,485,760 bytes. If a single message is larger than this size, compress the message with algorithms or split it in the service logic.