conduktor.io ↗

socket.receive.buffer.bytes — Kafka Broker Configuration

The SO_RCVBUF buffer of the socket server sockets. If the value is -1, the OS default will be used.

Description

The SO_RCVBUF buffer of the socket server sockets. If the value is -1, the OS default will be used.

Default Values by Kafka Version

Kafka VersionDefault Value
0.8.0100 * 1024
0.8.1100 * 1024
0.8.2100 * 1024
0.9.0102400
0.10.0102400
0.10.1102400
0.10.2102400
0.11.0102400
1.0102400
1.1102400
2.0102400
2.1102400
2.2102400
2.3102400
2.4102400
2.5102400
2.6102400 (100 kibibytes)
2.7102400 (100 kibibytes)
2.8102400 (100 kibibytes)
3.0102400 (100 kibibytes)
3.1102400 (100 kibibytes)
3.2102400 (100 kibibytes)
3.3102400 (100 kibibytes)
3.4102400 (100 kibibytes)
3.5102400 (100 kibibytes)
3.6102400 (100 kibibytes)
3.7102400 (100 kibibytes)
3.8102400 (100 kibibytes)
3.9102400 (100 kibibytes)
4.0102400 (100 kibibytes)
4.1102400 (100 kibibytes)
4.2102400 (100 kibibytes)

Tuning Recommendation

ProfileRecommendedWhy
broker / throughput1048576A larger receive buffer allows the kernel to buffer more incoming ProduceRequest bytes before the broker reads them, preventing TCP flow control back-pressure on producers during brief IO thread stalls.
broker / latency65536Smaller receive buffer ensures requests are handed to the I/O thread pool faster instead of accumulating in the kernel buffer.

Related Configs

socket.send.buffer.bytes · num.network.threads

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