conduktor.io ↗

log.flush.interval.messages — Kafka Broker Configuration

The number of messages accumulated on a log partition before messages are flushed to disk.

Description

The number of messages accumulated on a log partition before messages are flushed to disk.

Default Values by Kafka Version

ComponentKafka version lineDocumented default
Broker0.8.010000
Broker0.8.1None
Broker0.8.2Long.MaxValue
Broker0.9.09223372036854775807
Broker0.10.09223372036854775807
Broker0.10.19223372036854775807
Broker0.10.29223372036854775807
Broker0.11.09223372036854775807
Broker1.09223372036854775807
Broker1.19223372036854775807
Broker2.09223372036854775807
Broker2.19223372036854775807
Broker2.29223372036854775807
Broker2.39223372036854775807
Broker2.49223372036854775807
Broker2.59223372036854775807
Broker2.69223372036854775807
Broker2.79223372036854775807
Broker2.89223372036854775807
Broker3.09223372036854775807
Broker3.19223372036854775807
Broker3.29223372036854775807
Broker3.39223372036854775807
Broker3.49223372036854775807
Broker3.59223372036854775807
Broker3.69223372036854775807
Broker3.79223372036854775807
Broker3.89223372036854775807
Broker3.99223372036854775807
Broker4.09223372036854775807
Broker4.19223372036854775807
Broker4.29223372036854775807
Broker4.39223372036854775807
Broker4.49223372036854775807

Tuning Recommendation

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

ProfileProposalRationale and tradeoff
broker / throughput9223372036854775807Controls count-triggered flushing of log data. Keep the default unless an explicit storage durability policy requires more frequent flushes.

Tradeoff: Per-record flushing can severely increase I/O. Replication and minimum ISR remain necessary; fsync is not an end-to-end loss guarantee.

Reference · 2026-10-27
broker / durability9223372036854775807Controls count-triggered flushing of log data. Keep the default unless an explicit storage durability policy requires more frequent flushes.

Tradeoff: Per-record flushing can severely increase I/O. Replication and minimum ISR remain necessary; fsync is not an end-to-end loss guarantee.

Reference · 2026-10-27
broker / latency9223372036854775807Controls count-triggered flushing of log data. Keep the default unless an explicit storage durability policy requires more frequent flushes.

Tradeoff: Per-record flushing can severely increase I/O. Replication and minimum ISR remain necessary; fsync is not an end-to-end loss guarantee.

Reference · 2026-10-27

Related Configs

log.flush.interval.ms · default.replication.factor · num.io.threads

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