-
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-1325: Commit stream offsets using new nuclio API (#428)
* WIP ML-1325: Commit stream offsets using new nuclio API * WIP explicit ack * lint * Fix `AsyncEmitSource` implementation of offset committer * Fix `AsyncEmitSource` tests and reduce sleep in implementation * Keep original events in `StreamTarget` and `Table` * Support flush and "explicit ack" in `KafkaTarget` * Preserve original events in `Batch` * Fixes * Fix for KafkaTarget * Fix for `if last_handled_offset:` * Fix for committer call (need to add nuclio-sdk as storey dependency) * No need for two `del`s in `StreamTarget` * Fixes * collect gc * Add explicit_ack flag to allow turning the feature off even if running in nuclio * Fix tests --------- Co-authored-by: Gal Topper <[email protected]>
- Loading branch information
Showing
7 changed files
with
388 additions
and
20 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,4 +7,5 @@ numpy>=1.16.5,<1.23 | |
pyarrow>=1,<12 | ||
v3io-frames~=0.10.3 | ||
v3iofs~=0.1.9 | ||
xxhash>=1 | ||
xxhash>=1 | ||
nuclio-sdk>=0.5.3 |
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
Oops, something went wrong.