-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add manual commit feature to kinesumer (#12)
* feat(api): add commit feature to kinesumer * docs: add comment for error message * feat: update multiple checkpoints * feat: add kinesumer to mark record & manual commit * feat: divide commit & consuming, add offset config * refactor: change code style to origin * style: change offsetmanagement to commit properties * fix: hanging if error channel is full (#11) (#13) * docs: add caution message for error channel * style: change grammar issue * fix: error can be ignored if channel is blocked * style: change comments sendErrorOrIgnore * style: change sendErrorOrIgnore to sendOrDiscardError, remove docs * refactor: remove updating checkpoints with 25 items * test: add unit tests for markrecord&commit * style: make comments more clear * test: add state store test * refactor: rename commitCheckPointPerStream to commitCheckPointsPerStream * refactor: follow ok idiom * refactor: remove send error when empty commit checkpoints * doc: remove meaningless comments * refactor: remove duplicated consumed nil records check * refactor: rename commit properties to commit config * test: remove inappropriate test for commitCheckPointsPerStream * refactor: remove cleanup function and move to after end of consuming * refactor: make clean up offset using cleanUpOffset function * test: rename works properly to works fine * refactor: rename default commit properties to commit config
- Loading branch information
Showing
9 changed files
with
924 additions
and
118 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
Oops, something went wrong.