enable.auto.commit — Kafka Consumer Configuration
If true the consumer's offset will be periodically committed in the background.
Description
If true the consumer's offset will be periodically committed in the background.
Default Values by Kafka Version
| Component | Kafka version line | Documented default |
|---|---|---|
| Consumer | 0.9.0 | true |
| Consumer | 0.10.0 | true |
| Consumer | 0.10.1 | true |
| Consumer | 0.10.2 | true |
| Consumer | 0.11.0 | true |
| Consumer | 1.0 | true |
| Consumer | 1.1 | true |
| Consumer | 2.0 | true |
| Consumer | 2.1 | true |
| Consumer | 2.2 | true |
| Consumer | 2.3 | true |
| Consumer | 2.4 | true |
| Consumer | 2.5 | true |
| Consumer | 2.6 | true |
| Consumer | 2.7 | true |
| Consumer | 2.8 | true |
| Consumer | 3.0 | true |
| Consumer | 3.1 | true |
| Consumer | 3.2 | true |
| Consumer | 3.3 | true |
| Consumer | 3.4 | true |
| Consumer | 3.5 | true |
| Consumer | 3.6 | true |
| Consumer | 3.7 | true |
| Consumer | 3.8 | true |
| Consumer | 3.9 | true |
| Consumer | 4.0 | true |
| Consumer | 4.1 | true |
| Consumer | 4.2 | true |
| Consumer | 4.3 | true |
| Consumer | 4.4 | true |
Tuning Recommendation
Workload-dependent proposals, not benchmarked defaults. Review the versioned Config Advisor before applying.
| Profile | Proposal | Rationale and tradeoff |
|---|---|---|
| consumer / throughput | true | Controls periodic offset commits. With false, the application must coordinate commits with successful processing. Tradeoff: Disabling auto commit does not implement exactly-once processing. Crashes can replay uncommitted work, and committing before completion can skip work. Reference · 2026-10-27 |
| consumer / latency | false | Controls periodic offset commits. With false, the application must coordinate commits with successful processing. Tradeoff: Disabling auto commit does not implement exactly-once processing. Crashes can replay uncommitted work, and committing before completion can skip work. Reference · 2026-10-27 |
| consumer / durability | false | Controls periodic offset commits. With false, the application must coordinate commits with successful processing. Tradeoff: Disabling auto commit does not implement exactly-once processing. Crashes can replay uncommitted work, and committing before completion can skip work. Reference · 2026-10-27 |
Related Configs
auto.commit.interval.ms · isolation.level · auto.offset.reset · max.poll.records · partition.assignment.strategy