conduktor.io ↗

send.buffer.bytes — Kafka Consumer Configuration

The size of the TCP send buffer (SO_SNDBUF) to use when sending data. If the value is -1, the OS default will be used.

Description

The size of the TCP send buffer (SO_SNDBUF) to use when sending data. If the value is -1, the OS default will be used.

Default Values by Kafka Version

Kafka VersionDefault Value
0.9.0131072
0.10.0131072
0.10.1131072
0.10.2131072
0.11.0131072
1.0131072
1.1131072
2.0131072
2.1131072
2.2131072
2.3131072
2.4131072
2.5131072
2.6131072 (128 kibibytes)
2.7131072 (128 kibibytes)
2.8131072 (128 kibibytes)
3.0131072 (128 kibibytes)
3.1131072 (128 kibibytes)
3.2131072 (128 kibibytes)
3.3131072 (128 kibibytes)
3.4131072 (128 kibibytes)
3.5131072 (128 kibibytes)
3.6131072 (128 kibibytes)
3.7131072 (128 kibibytes)
3.8131072 (128 kibibytes)
3.9131072 (128 kibibytes)
4.0131072 (128 kibibytes)
4.1131072 (128 kibibytes)
4.2131072 (128 kibibytes)

Tuning Recommendation

ProfileRecommendedWhy
producer / throughput1048576Increasing the TCP send buffer to 1MB allows the OS to buffer more in-flight bytes without producer blocking, especially critical on high-latency links (>5ms RTT) where the bandwidth-delay product exceeds 128KB.
producer / latency131072The 128KB OS send buffer is already well-tuned for low-latency workloads with small batches; the kernel will not buffer more than one batch before flushing, keeping TCP write latency minimal without increasing kernel memory per connection.

Related Configs

receive.buffer.bytes · batch.size · connections.max.idle.ms

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