conduktor.io ↗

background.threads — Kafka Broker Configuration

The number of threads to use for various background processing tasks.

Description

The number of threads to use for various background processing tasks

Default Values by Kafka Version

Kafka VersionDefault Value
0.8.14
0.8.210
0.9.010
0.10.010
0.10.110
0.10.210
0.11.010
1.010
1.110
2.010
2.110
2.210
2.310
2.410
2.510
2.610
2.710
2.810
3.010
3.110
3.210
3.310
3.410
3.510
3.610
3.710
3.810
3.910
4.010
4.110
4.210

Tuning Recommendation

ProfileRecommendedWhy
broker / throughput20Background threads handle log segment deletion, index truncation, and leader election callbacks. Under high write rates with frequent segment rolls, the deletion queue can back up with 10 threads, causing disk usage to spike while segments await deletion.

Related Configs

log.segment.bytes · log.segment.delete.delay.ms · log.retention.bytes

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