conduktor.io ↗

auto.commit.interval.ms — Kafka Consumer Configuration

The frequency in milliseconds that the consumer offsets are auto-committed to Kafka if enable.auto.

Description

The frequency in milliseconds that the consumer offsets are auto-committed to Kafka if enable.auto.commit is set to true.

Default Values by Kafka Version

Kafka VersionDefault Value
0.8.060 * 1000
0.8.160 * 1000
0.8.260 * 1000
0.9.060 * 1000
0.10.060 * 1000
0.10.15000
0.10.25000
0.11.05000
1.05000
1.15000
2.05000
2.15000
2.25000
2.35000
2.45000
2.55000
2.65000 (5 seconds)
2.75000 (5 seconds)
2.85000 (5 seconds)
3.05000 (5 seconds)
3.15000 (5 seconds)
3.25000 (5 seconds)
3.35000 (5 seconds)
3.45000 (5 seconds)
3.55000 (5 seconds)
3.65000 (5 seconds)
3.75000 (5 seconds)
3.85000 (5 seconds)
3.95000 (5 seconds)
4.05000 (5 seconds)
4.15000 (5 seconds)
4.25000 (5 seconds)

Tuning Recommendation

ProfileRecommendedWhy
consumer / throughput5000The 5s auto-commit interval is optimal: frequent enough to limit reprocessing window on restart to ~5s of records, infrequent enough to not saturate the broker with OffsetCommitRequests. Reducing to 1s triples the commit rate with no throughput benefit.

Related Configs

enable.auto.commit

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