Skip to main content

DEFAULT_MAX_MESSAGE_SIZE

Constant DEFAULT_MAX_MESSAGE_SIZE 

Source
pub const DEFAULT_MAX_MESSAGE_SIZE: ByteSize;
Expand description

Kafka’s max.message.bytes default: 1 MiB of records plus the 12-byte Records.LOG_OVERHEAD that prefixes every batch on the wire.

Kafka’s broker-wide message.max.bytes carries the same number, and a topic that sets neither inherits it.