-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ML-4799: Simplify and optimize emit source offset handling for perfor…
…mance (#462) * ML-4799: Simplify emit source offset handling for performance * Implement timeout differently * `AsyncEmitSource` and `_commit_handled_events` * Proper count of offsets * Fixes * Count events and time since last commit to decide whether to commit again * Fix `StreamTarget` * Increase max wait before commit to 5s * Rename local vars and fix comments * Add param to docstring --------- Co-authored-by: Gal Topper <[email protected]>
- Loading branch information
Showing
3 changed files
with
74 additions
and
54 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