conduktor.io ↗

socket.send.buffer.bytes — Kafka Broker Configuration

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

Description

The SO_SNDBUF 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 / throughput1048576Increasing the OS TCP send buffer to 1MB allows the kernel to buffer more outgoing fetch-response bytes, critical on high-latency links or when consumers are remote. The bandwidth-delay product on a 1Gbps link at 1ms RTT is already 125KB — larger buffers avoid TCP stalls.
broker / latency65536Smaller send buffer reduces buffering delay for small responses. The default 100KB buffer may delay small fetch responses while waiting to fill.

Related Configs

socket.receive.buffer.bytes · socket.request.max.bytes · replica.socket.receive.buffer.bytes

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