receive.buffer.bytes — Kafka Consumer Configuration
The size of the TCP receive buffer (SO_RCVBUF) to use when reading data. If the value is -1, the OS default will be used.
Description
The size of the TCP receive buffer (SO_RCVBUF) to use when reading data. If the value is -1, the OS default will be used.
Default Values by Kafka Version
| Component | Kafka version line | Documented default |
|---|---|---|
| Consumer | 0.9.0 | 32768 |
| Consumer | 0.10.0 | 65536 |
| Consumer | 0.10.1 | 65536 |
| Consumer | 0.10.2 | 65536 |
| Consumer | 0.11.0 | 65536 |
| Consumer | 1.0 | 65536 |
| Consumer | 1.1 | 65536 |
| Consumer | 2.0 | 65536 |
| Consumer | 2.1 | 65536 |
| Consumer | 2.2 | 65536 |
| Consumer | 2.3 | 65536 |
| Consumer | 2.4 | 65536 |
| Consumer | 2.5 | 65536 |
| Consumer | 2.6 | 65536 (64 kibibytes) |
| Consumer | 2.7 | 65536 (64 kibibytes) |
| Consumer | 2.8 | 65536 (64 kibibytes) |
| Consumer | 3.0 | 65536 (64 kibibytes) |
| Consumer | 3.1 | 65536 (64 kibibytes) |
| Consumer | 3.2 | 65536 (64 kibibytes) |
| Consumer | 3.3 | 65536 (64 kibibytes) |
| Consumer | 3.4 | 65536 (64 kibibytes) |
| Consumer | 3.5 | 65536 (64 kibibytes) |
| Consumer | 3.6 | 65536 (64 kibibytes) |
| Consumer | 3.7 | 65536 (64 kibibytes) |
| Consumer | 3.8 | 65536 (64 kibibytes) |
| Consumer | 3.9 | 65536 (64 kibibytes) |
| Consumer | 4.0 | 65536 (64 kibibytes) |
| Consumer | 4.1 | 65536 (64 kibibytes) |
| Consumer | 4.2 | 65536 (64 kibibytes) |
| Consumer | 4.3 | 65536 (64 kibibytes) |
| Consumer | 4.4 | 65536 (64 kibibytes) |
| Producer | 0.8.1 | 32768 |
| Producer | 0.8.2 | 32768 |
| Producer | 0.9.0 | 32768 |
| Producer | 0.10.0 | 32768 |
| Producer | 0.10.1 | 32768 |
| Producer | 0.10.2 | 32768 |
| Producer | 0.11.0 | 32768 |
| Producer | 1.0 | 32768 |
| Producer | 1.1 | 32768 |
| Producer | 2.0 | 32768 |
| Producer | 2.1 | 32768 |
| Producer | 2.2 | 32768 |
| Producer | 2.3 | 32768 |
| Producer | 2.4 | 32768 |
| Producer | 2.5 | 32768 |
| Producer | 2.6 | 32768 (32 kibibytes) |
| Producer | 2.7 | 32768 (32 kibibytes) |
| Producer | 2.8 | 32768 (32 kibibytes) |
| Producer | 3.0 | 32768 (32 kibibytes) |
| Producer | 3.1 | 32768 (32 kibibytes) |
| Producer | 3.2 | 32768 (32 kibibytes) |
| Producer | 3.3 | 32768 (32 kibibytes) |
| Producer | 3.4 | 32768 (32 kibibytes) |
| Producer | 3.5 | 32768 (32 kibibytes) |
| Producer | 3.6 | 32768 (32 kibibytes) |
| Producer | 3.7 | 32768 (32 kibibytes) |
| Producer | 3.8 | 32768 (32 kibibytes) |
| Producer | 3.9 | 32768 (32 kibibytes) |
| Producer | 4.0 | 32768 (32 kibibytes) |
| Producer | 4.1 | 32768 (32 kibibytes) |
| Producer | 4.2 | 32768 (32 kibibytes) |
| Producer | 4.3 | 32768 (32 kibibytes) |
| Producer | 4.4 | 32768 (32 kibibytes) |
| Connect Worker | 0.9.0 | 32768 |
| Connect Worker | 0.10.0 | 32768 |
| Connect Worker | 0.10.1 | 32768 |
| Connect Worker | 0.10.2 | 32768 |
| Connect Worker | 0.11.0 | 32768 |
| Connect Worker | 1.0 | 32768 |
| Connect Worker | 1.1 | 32768 |
| Connect Worker | 2.0 | 32768 |
| Connect Worker | 2.1 | 32768 |
| Connect Worker | 2.2 | 32768 |
| Connect Worker | 2.3 | 32768 |
| Connect Worker | 2.4 | 32768 |
| Connect Worker | 2.5 | 32768 |
| Connect Worker | 2.6 | 32768 (32 kibibytes) |
| Connect Worker | 2.7 | 32768 (32 kibibytes) |
| Connect Worker | 2.8 | 32768 (32 kibibytes) |
| Connect Worker | 3.0 | 32768 (32 kibibytes) |
| Connect Worker | 3.1 | 32768 (32 kibibytes) |
| Connect Worker | 3.2 | 32768 (32 kibibytes) |
| Connect Worker | 3.3 | 32768 (32 kibibytes) |
| Connect Worker | 3.4 | 32768 (32 kibibytes) |
| Connect Worker | 3.5 | 32768 (32 kibibytes) |
| Connect Worker | 3.6 | 32768 (32 kibibytes) |
| Connect Worker | 3.7 | 32768 (32 kibibytes) |
| Connect Worker | 3.8 | 32768 (32 kibibytes) |
| Connect Worker | 3.9 | 32768 (32 kibibytes) |
| Connect Worker | 4.0 | 32768 (32 kibibytes) |
| Connect Worker | 4.1 | 32768 (32 kibibytes) |
| Connect Worker | 4.2 | 32768 (32 kibibytes) |
| Connect Worker | 4.3 | 32768 (32 kibibytes) |
| Connect Worker | 4.4 | 32768 (32 kibibytes) |
| Kafka Streams | 0.10.2 | 32768 |
| Kafka Streams | 0.11.0 | 32768 |
| Kafka Streams | 1.0 | 32768 |
| Kafka Streams | 1.1 | 32768 |
| Kafka Streams | 2.0 | 32768 |
| Kafka Streams | 2.1 | 32768 |
| Kafka Streams | 2.2 | 32768 |
| Kafka Streams | 2.3 | 32768 |
| Kafka Streams | 2.4 | 32768 |
| Kafka Streams | 2.5 | 32768 |
| Kafka Streams | 2.6 | 32768 (32 kibibytes) |
| Kafka Streams | 2.7 | 32768 (32 kibibytes) |
| Kafka Streams | 2.8 | 32768 (32 kibibytes) |
| Kafka Streams | 3.0 | 32768 (32 kibibytes) |
| Kafka Streams | 3.1 | 32768 (32 kibibytes) |
| Kafka Streams | 3.2 | 32768 (32 kibibytes) |
| Kafka Streams | 3.3 | 32768 (32 kibibytes) |
| Kafka Streams | 3.4 | 32768 (32 kibibytes) |
| Kafka Streams | 3.5 | 32768 (32 kibibytes) |
| Kafka Streams | 3.6 | 32768 (32 kibibytes) |
| Kafka Streams | 3.7 | 32768 (32 kibibytes) |
| Kafka Streams | 3.8 | 32768 (32 kibibytes) |
| Kafka Streams | 3.9 | 32768 (32 kibibytes) |
| Kafka Streams | 4.0 | 32768 (32 kibibytes) |
| Kafka Streams | 4.1 | 32768 (32 kibibytes) |
| Kafka Streams | 4.2 | 32768 (32 kibibytes) |
| Kafka Streams | 4.3 | 32768 (32 kibibytes) |
| Kafka Streams | 4.4 | 32768 (32 kibibytes) |
Tuning Recommendation
Workload-dependent proposals, not benchmarked defaults. Review the versioned Config Advisor before applying.
| Profile | Proposal | Rationale and tradeoff |
|---|---|---|
| producer / throughput | 262144 | Requests a TCP receive buffer size for client connections. Tradeoff: Kernel defaults, autotuning and limits affect the result. More buffer capacity may be unused on low-volume response paths. Reference · 2026-10-27 |
| consumer / throughput | 1048576 | Requests a TCP receive buffer size for client connections. Tradeoff: Kernel defaults, autotuning and limits affect the result. More buffer capacity may be unused on low-volume response paths. Reference · 2026-10-27 |
Related Configs
send.buffer.bytes · connections.max.idle.ms · fetch.max.bytes · max.partition.fetch.bytes
Manage Kafka configs across all your clusters with Conduktor Console — view, compare, and update configurations in one place.