fetch.message.max.bytes — Kafka Consumer Configuration
The number of byes of messages to attempt to fetch for each topic-partition in each fetch request. These bytes will be read into memory for each partition, so this helps control the memory used by the consumer.
Description
The number of byes of messages to attempt to fetch for each topic-partition in each fetch request. These bytes will be read into memory for each partition, so this helps control the memory used by the consumer. The fetch request size must be at least as large as the maximum message size the server allows or else it is possible for the producer to send messages larger than the consumer can fetch.
Default Values by Kafka Version
| Kafka Version | Default Value |
|---|---|
| 0.8.0 | 1024 * 1024 |
| 0.8.1 | 1024 * 1024 |
| 0.8.2 | 1024 * 1024 |
| 0.9.0 | 1024 * 1024 |
| 0.10.0 | 1024 * 1024 |
| 0.10.1 | 1024 * 1024 |
| 0.10.2 | 1024 * 1024 |
| 0.11.0 | 1024 * 1024 |
| 1.0 | 1024 * 1024 |
| 1.1 | 1024 * 1024 |
| 2.0 | 1024 * 1024 |
Manage Kafka configs across all your clusters with Conduktor Console — view, compare, and update configurations in one place.