You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@iggy.apache.org by "spetz (via GitHub)" <gi...@apache.org> on 2026/05/01 11:46:28 UTC

Re: Manual Offset Commit

GitHub user spetz added a comment to the discussion: Manual Offset Commit

I like the idea, and for starters, 2 modes could be enough, e.g., `AfterPolling` (current one) and `AfterConsuming` - not sure about these names, but the more explicit these are, I think the better for the users. However, I'm not sure if we need an additional callback mechanism. 

Actually, why not just make use of the existing `mut consumer: IggyConsumer` within `consume_messages()` and, depending on the mode, either do nothing or invoke `store_offset()` after `process_messages` has completed successfully?

GitHub link: https://github.com/apache/iggy/discussions/3203#discussioncomment-16779424

----
This is an automatically sent email for dev@iggy.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@iggy.apache.org