num.network.threads — Kafka Broker Configuration
The number of threads that the server uses for receiving requests from the network and sending responses to the network. Noted: each listener (except for controller listener) creates its own thread pool.
Description
The number of threads that the server uses for receiving requests from the network and sending responses to the network. Noted: each listener (except for controller listener) creates its own thread pool.
Default Values by Kafka Version
| Component | Kafka version line | Documented default |
|---|---|---|
| Broker | 0.8.0 | 3 |
| Broker | 0.8.1 | 3 |
| Broker | 0.8.2 | 3 |
| Broker | 0.9.0 | 3 |
| Broker | 0.10.0 | 3 |
| Broker | 0.10.1 | 3 |
| Broker | 0.10.2 | 3 |
| Broker | 0.11.0 | 3 |
| Broker | 1.0 | 3 |
| Broker | 1.1 | 3 |
| Broker | 2.0 | 3 |
| Broker | 2.1 | 3 |
| Broker | 2.2 | 3 |
| Broker | 2.3 | 3 |
| Broker | 2.4 | 3 |
| Broker | 2.5 | 3 |
| Broker | 2.6 | 3 |
| Broker | 2.7 | 3 |
| Broker | 2.8 | 3 |
| Broker | 3.0 | 3 |
| Broker | 3.1 | 3 |
| Broker | 3.2 | 3 |
| Broker | 3.3 | 3 |
| Broker | 3.4 | 3 |
| Broker | 3.5 | 3 |
| Broker | 3.6 | 3 |
| Broker | 3.7 | 3 |
| Broker | 3.8 | 3 |
| Broker | 3.9 | 3 |
| Broker | 4.0 | 3 |
| Broker | 4.1 | 3 |
| Broker | 4.2 | 3 |
| Broker | 4.3 | 3 |
| Broker | 4.4 | 3 |
Tuning Recommendation
Workload-dependent proposals, not benchmarked defaults. Review the versioned Config Advisor before applying.
| Profile | Proposal | Rationale and tradeoff |
|---|---|---|
| broker / throughput | 8 | Sets the broker network processing thread count per relevant listener. Increase only when network processing is a measured bottleneck. Tradeoff: More threads consume resources and may add contention. Controller listeners have distinct handling. Reference · 2026-10-27 |
| broker / latency | 8 | Sets the broker network processing thread count per relevant listener. Increase only when network processing is a measured bottleneck. Tradeoff: More threads consume resources and may add contention. Controller listeners have distinct handling. Reference · 2026-10-27 |
Related Configs
num.io.threads · queued.max.requests · socket.receive.buffer.bytes