-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
runtime: request(n) in stream ingest fix
- change `StreamIngest` to request one message at time as `request(n)` does not always deliver what you ask for on some servers and can cause message flow to halt. Therefore, we switch back to a more predictable approach where we request more messages when queue size is less than `prefetchN`. - adjust tests for new fetch strategy. - Note: We might optimize internals at a later point if this approach is too slow, but now correctness trumps speed.
- Loading branch information
1 parent
f32bb7f
commit 034058a
Showing
4 changed files
with
22 additions
and
27 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