conduktor.io ↗

log.cleaner.threads — Kafka Broker Configuration

The number of background threads to use for log cleaning

Description

The number of background threads to use for log cleaning

Default Values by Kafka Version

ComponentKafka version lineDocumented default
Broker0.8.11
Broker0.8.21
Broker0.9.01
Broker0.10.01
Broker0.10.11
Broker0.10.21
Broker0.11.01
Broker1.01
Broker1.11
Broker2.01
Broker2.11
Broker2.21
Broker2.31
Broker2.41
Broker2.51
Broker2.61
Broker2.71
Broker2.81
Broker3.01
Broker3.11
Broker3.21
Broker3.31
Broker3.41
Broker3.51
Broker3.61
Broker3.71
Broker3.81
Broker3.91
Broker4.01
Broker4.11
Broker4.21
Broker4.31
Broker4.41

Tuning Recommendation

Workload-dependent proposals, not benchmarked defaults. Review the versioned Config Advisor before applying.

ProfileProposalRationale and tradeoff
broker / cost2Sizes the compaction cleaner thread pool.

Tradeoff: More cleaner concurrency consumes CPU and I/O and shares the configured cleaner buffer budget.

Reference · 2026-10-27

Related Configs

log.cleaner.io.max.bytes.per.second · log.cleanup.policy · log.cleaner.dedupe.buffer.size · log.cleaner.min.cleanable.ratio

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