conduktor.io ↗

num.io.threads — Kafka Broker Configuration

The number of threads that the server uses for processing requests, which may include disk I/O.

Description

The number of threads that the server uses for processing requests, which may include disk I/O

Default Values by Kafka Version

Kafka VersionDefault Value
0.8.08
0.8.18
0.8.28
0.9.08
0.10.08
0.10.18
0.10.28
0.11.08
1.08
1.18
2.08
2.18
2.28
2.38
2.48
2.58
2.68
2.78
2.88
3.08
3.18
3.28
3.38
3.48
3.58
3.68
3.78
3.88
3.98
4.08
4.18
4.28

Tuning Recommendation

ProfileRecommendedWhy
broker / throughput16IO threads perform the actual disk reads/writes for produce and fetch requests. When using HDDs or when the broker hosts many partitions, IO operations queue up; doubling to 16 keeps disk utilization high without stalling the network layer.
broker / latency16More I/O threads parallelize disk reads for fetch requests, reducing time spent waiting for disk I/O especially on spinning disks or under heavy consumer load.

Related Configs

num.network.threads · queued.max.requests · num.recovery.threads.per.data.dir · compression.type · log.flush.interval.messages · log.flush.interval.ms

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