conduktor.io ↗

max.message.bytes — Kafka topic Configuration

The largest record batch size allowed by Kafka (after compression if compression is enabled). If this is increased and there are consumers older than 0.

Description

The largest record batch size allowed by Kafka (after compression if compression is enabled). If this is increased and there are consumers older than 0.10.2, the consumers' fetch size must also be increased so that they can fetch record batches this large. In the latest message format version, records are always grouped into batches for efficiency. In previous message format versions, uncompressed records are not grouped into batches and this limit only applies to a single record in that case.

Default Values by Kafka Version

Kafka VersionDefault Value
0.11.01000012
1.01000012
1.11000012
2.01000012
2.11000012
2.21000012
2.31000012
2.41000012
2.51048588
2.61048588
2.71048588
2.81048588
3.01048588
3.11048588
3.21048588
3.31048588
3.41048588
3.51048588
3.61048588
3.71048588
3.81048588
3.91048588
4.01048588
4.11048588
4.21048588
Manage Kafka configs across all your clusters with Conduktor Console — view, compare, and update configurations in one place.