-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Refactor consume-loop, adding `reset_offsets_and_sleep_indefini…
…tely` method (#118) The goal here is just to split out the two fairly unrelated pieces of functionality of consuming vs. resetting, especially since the reset code no longer does any consuming. (A linter was also starting to get testy about how large the method was.) This deprecates the `offset_timestamp` parameter to the existing `consume_indefinitely` method; callers should switch to using the new method. After course-discovery is updated to use it, can remove the parameter. One of the tests still uses the deprecated call, just to retain coverage until it can be removed. Also: Add a comment about repeated reassign.
- Loading branch information
Showing
4 changed files
with
88 additions
and
29 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