conduktor.io ↗

max.partition.fetch.bytes — Kafka Consumer Configuration

The maximum amount of data per-partition the server will return. Records are fetched in batches by the consumer

Description

The maximum amount of data per-partition the server will return. Records are fetched in batches by the consumer. If the first record batch in the first non-empty partition of the fetch is larger than this limit, the batch will still be returned to ensure that the consumer can make progress. The maximum record batch size accepted by the broker is defined via message.max.bytes (broker config) or max.message.bytes (topic config). See fetch.max.bytes for limiting the consumer request size.

Default Values by Kafka Version

ComponentKafka version lineDocumented default
Consumer0.9.01048576
Consumer0.10.01048576
Consumer0.10.11048576
Consumer0.10.21048576
Consumer0.11.01048576
Consumer1.01048576
Consumer1.11048576
Consumer2.01048576
Consumer2.11048576
Consumer2.21048576
Consumer2.31048576
Consumer2.41048576
Consumer2.51048576
Consumer2.61048576 (1 mebibyte)
Consumer2.71048576 (1 mebibyte)
Consumer2.81048576 (1 mebibyte)
Consumer3.01048576 (1 mebibyte)
Consumer3.11048576 (1 mebibyte)
Consumer3.21048576 (1 mebibyte)
Consumer3.31048576 (1 mebibyte)
Consumer3.41048576 (1 mebibyte)
Consumer3.51048576 (1 mebibyte)
Consumer3.61048576 (1 mebibyte)
Consumer3.71048576 (1 mebibyte)
Consumer3.81048576 (1 mebibyte)
Consumer3.91048576 (1 mebibyte)
Consumer4.01048576 (1 mebibyte)
Consumer4.11048576 (1 mebibyte)
Consumer4.21048576 (1 mebibyte)
Consumer4.31048576 (1 mebibyte)
Consumer4.41048576 (1 mebibyte)

Tuning Recommendation

Workload-dependent proposals, not benchmarked defaults. Review the versioned Config Advisor before applying.

ProfileProposalRationale and tradeoff
consumer / throughput4194304Sets the fetch target per partition. The first oversized batch can exceed this value to allow progress.

Tradeoff: Total memory also depends on partitions, brokers and concurrent fetches. Coordinate with producer record-batch sizes.

Reference · 2026-10-27

Related Configs

fetch.min.bytes · fetch.max.bytes · max.poll.records · receive.buffer.bytes

Manage Kafka configs across all your clusters with Conduktor Console — view, compare, and update configurations in one place.