conduktor.io ↗

log.flush.interval.ms — Kafka Broker Configuration

The maximum time in ms that a message in any topic is kept in memory before flushed to disk. If not set, the value in log.flush.scheduler.interval.ms is used

Description

The maximum time in ms that a message in any topic is kept in memory before flushed to disk. If not set, the value in log.flush.scheduler.interval.ms is used

Default Values by Kafka Version

ComponentKafka version lineDocumented default
Broker0.8.03000
Broker0.8.1None
Broker0.8.2Long.MaxValue
Broker0.9.0null
Broker0.10.0null
Broker0.10.1null
Broker0.10.2null
Broker0.11.0null
Broker1.0null
Broker1.1null
Broker2.0null
Broker2.1null
Broker2.2null
Broker2.3null
Broker2.4null
Broker2.5null
Broker2.6null
Broker2.7null
Broker2.8null
Broker3.0null
Broker3.1null
Broker3.2null
Broker3.3null
Broker3.4null
Broker3.5null
Broker3.6null
Broker3.7null
Broker3.8null
Broker3.9null
Broker4.0null
Broker4.1null
Broker4.2null
Broker4.3null
Broker4.4null

Tuning Recommendation

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

ProfileProposalRationale and tradeoff
broker / durabilitynullSets time-triggered log flush behavior; an unset value follows the broker flush scheduler configuration.

Tradeoff: Frequent flushes add storage work and can reduce throughput. Keeping the default does not remove the need for replication and a recovery policy.

Reference · 2026-10-27

Related Configs

log.flush.interval.messages · num.io.threads

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