log.cleaner.io.max.bytes.per.second — Kafka Broker Configuration
The log cleaner will be throttled so that the sum of its read and write i/o will be less than this value on average.
Description
The log cleaner will be throttled so that the sum of its read and write i/o will be less than this value on average
Default Values by Kafka Version
| Kafka Version | Default Value |
|---|---|
| 0.8.1 | None |
| 0.8.2 | Double.MaxValue |
| 0.9.0 | 1.7976931348623157E308 |
| 0.10.0 | 1.7976931348623157E308 |
| 0.10.1 | 1.7976931348623157E308 |
| 0.10.2 | 1.7976931348623157E308 |
| 0.11.0 | 1.7976931348623157E308 |
| 1.0 | 1.7976931348623157E308 |
| 1.1 | 1.7976931348623157E308 |
| 2.0 | 1.7976931348623157E308 |
| 2.1 | 1.7976931348623157E308 |
| 2.2 | 1.7976931348623157E308 |
| 2.3 | 1.7976931348623157E308 |
| 2.4 | 1.7976931348623157E308 |
| 2.5 | 1.7976931348623157E308 |
| 2.6 | 1.7976931348623157E308 |
| 2.7 | 1.7976931348623157E308 |
| 2.8 | 1.7976931348623157E308 |
| 3.0 | 1.7976931348623157E308 |
| 3.1 | 1.7976931348623157E308 |
| 3.2 | 1.7976931348623157E308 |
| 3.3 | 1.7976931348623157E308 |
| 3.4 | 1.7976931348623157E308 |
| 3.5 | 1.7976931348623157E308 |
| 3.6 | 1.7976931348623157E308 |
| 3.7 | 1.7976931348623157E308 |
| 3.8 | 1.7976931348623157E308 |
| 3.9 | 1.7976931348623157E308 |
| 4.0 | 1.7976931348623157E308 |
| 4.1 | 1.7976931348623157E308 |
| 4.2 | 1.7976931348623157E308 |
Tuning Recommendation
| Profile | Recommended | Why |
|---|---|---|
| broker / throughput, cost | 52428800 | Throttles log compaction I/O to 50MB/s. The default is uncapped (Double.MAX_VALUE) — compaction can fully saturate broker I/O, causing produce and fetch latency spikes for all other topics on the same broker. This is a common mystery performance degradation. |
Related Configs
log.cleaner.threads · log.cleanup.policy
Manage Kafka configs across all your clusters with Conduktor Console — view, compare, and update configurations in one place.