-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow the Consumer to disable auto-commit offsets (#1164)
* #1158 Allow the Consumer to disable auto-commit offsets * Ignoring Close if commit offsets are disabled. Avoit starting mainloop if commit offsets are disabled * Renamed Consumer.Offsets.AutoCommitEnable to Consumer.Offsets.AutoCommit.Enable. Renamed Consumer.Offsets.CommitInteval to Consumer.Offsets.AutoCommit.Inteval * started on unittest for Consumer.Offsets.AutoCommit.Enable * Moved check for Consumer.Offsets.AutoCommit.Enable to offsetManager.flushToBroker to keep mainLoop * moved ticker back to struct * Fixed TestNewOffsetManagerOffsetsAutoCommit fails because of low timeout
- Loading branch information
Showing
3 changed files
with
98 additions
and
10 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