conduktor.io ↗

log.segment.delete.delay.ms — Kafka Broker Configuration

The amount of time to wait before deleting a file from the filesystem. If the value is 0 and there is no file to delete, the system will wait 1 millisecond.

Description

The amount of time to wait before deleting a file from the filesystem. If the value is 0 and there is no file to delete, the system will wait 1 millisecond. Low value will cause busy waiting

Default Values by Kafka Version

Kafka VersionDefault Value
0.8.260000
0.9.060000
0.10.060000
0.10.160000
0.10.260000
0.11.060000
1.060000
1.160000
2.060000
2.160000
2.260000
2.360000
2.460000
2.560000
2.660000 (1 minute)
2.760000 (1 minute)
2.860000 (1 minute)
3.060000 (1 minute)
3.160000 (1 minute)
3.260000 (1 minute)
3.360000 (1 minute)
3.460000 (1 minute)
3.560000 (1 minute)
3.660000 (1 minute)
3.760000 (1 minute)
3.860000 (1 minute)
3.960000 (1 minute)
4.060000 (1 minute)
4.160000 (1 minute)
4.260000 (1 minute)

Tuning Recommendation

ProfileRecommendedWhy
broker / cost10000Segments eligible for deletion are held for this delay before actual removal to allow active readers to finish. Reducing from 60s to 10s recovers disk space faster after retention-triggered deletions, which matters when retention.bytes limits are tight.

Related Configs

background.threads · log.retention.bytes · log.retention.hours · log.segment.bytes

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