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

ComponentKafka version lineDocumented default
Broker0.8.260000
Broker0.9.060000
Broker0.10.060000
Broker0.10.160000
Broker0.10.260000
Broker0.11.060000
Broker1.060000
Broker1.160000
Broker2.060000
Broker2.160000
Broker2.260000
Broker2.360000
Broker2.460000
Broker2.560000
Broker2.660000 (1 minute)
Broker2.760000 (1 minute)
Broker2.860000 (1 minute)
Broker3.060000 (1 minute)
Broker3.160000 (1 minute)
Broker3.260000 (1 minute)
Broker3.360000 (1 minute)
Broker3.460000 (1 minute)
Broker3.560000 (1 minute)
Broker3.660000 (1 minute)
Broker3.760000 (1 minute)
Broker3.860000 (1 minute)
Broker3.960000 (1 minute)
Broker4.060000 (1 minute)
Broker4.160000 (1 minute)
Broker4.260000 (1 minute)
Broker4.360000 (1 minute)
Broker4.460000 (1 minute)

Tuning Recommendation

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

ProfileProposalRationale and tradeoff
broker / cost10000Delays physical removal after a segment has been scheduled for deletion.

Tradeoff: Reducing this delay offers limited disk savings and changes the cleanup grace period; it is not a replication-lag tuning control.

Reference · 2026-10-27

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.