Skip to content

Latest commit

 

History

History
5 lines (3 loc) · 473 Bytes

kafka-properties-enable-auto-commit.adoc

File metadata and controls

5 lines (3 loc) · 473 Bytes

enable.auto.commit Property

enable.auto.commit…​FIXME

By default, as the consumer reads messages from Kafka, it will periodically commit its current offset (defined as the offset of the next message to be read) for the partitions it is reading from back to Kafka. Often you would like more control over exactly when offsets are committed. In this case you can set enable.auto.commit to false and call the commit method on the consumer.