manual offset commit

Committing a consumer's offsets by calling commit in your own code instead of relying on the automatic timer.

In more detail

Manual commits let you decide exactly when progress is saved, for example only after a record has been fully processed. Where you place the commit decides whether a crash causes duplicates or lost records.

Example

consumer.commit()

Related terms

Taught in

References