forked from spreedly/kaffe
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Provide finer grain control over committing offsets
Depending on the use case it may not be desirable for new offsets to be commited back to a partition. This provides message handlers a mechanism to communicate back how to handle offsets. - :ok will commit back the offset of the last message and request new messages - {:ok, :maintain_offset} will request more messages keeping the prior offset - {:ok, offset} will commit back a specific offset and get messages from there Closes spreedly#60
- Loading branch information
1 parent
c1d5437
commit 1a0d995
Showing
4 changed files
with
140 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters