KIP-723 — Add socket.tcp.no.delay property to Kafka Config
Discussion Broker
Makes `TCP_NODELAY` configurable on broker sockets (defaulting to off for inter-broker communication) to reduce packet-per-second rates on clusters with large numbers of partitions. With `TCP_NODELAY` always enabled, a 4-broker cluster with 30,000 partitions generated ~140,000 TCP packets/second at load because each inter-broker heartbeat was sent as a separate small packet, triggering traffic-shaper limits in cloud environments.
Details
| Author | Andrei Iatsuk |
| Status | Discussion |
| JIRA | KAFKA-12481 |
| Wiki | View on Apache Wiki |
| Created | 2021-03-17 |
| Last Modified | 2021-03-21 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.