-
Notifications
You must be signed in to change notification settings - Fork 544
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kafka replay speed: concurrency fetching improvements (#9389)
* fetched records include timestamps Signed-off-by: Dimitar Dimitrov <[email protected]> * try with defaultMinBytesWaitTime=3s Signed-off-by: Dimitar Dimitrov <[email protected]> * add fetch_min_bytes_max_wait Signed-off-by: Dimitar Dimitrov <[email protected]> * Don't block on sending to the channel Signed-off-by: Dimitar Dimitrov <[email protected]> * Remove wait for when we're fetching from the end Signed-off-by: Dimitar Dimitrov <[email protected]> * Fix bug with blocking on fetch Signed-off-by: Dimitar Dimitrov <[email protected]> * Slightly easier to follow lifecycle of previousResult Signed-off-by: Dimitar Dimitrov <[email protected]> * Correct merging of results Signed-off-by: Dimitar Dimitrov <[email protected]> * Avoid double-logging events Signed-off-by: Dimitar Dimitrov <[email protected]> * Revert "add fetch_min_bytes_max_wait" This reverts commit 6197d4b. * Increase MinBytesWaitTime to 5s Signed-off-by: Dimitar Dimitrov <[email protected]> * Add comment about warpstream and MinBytes Signed-off-by: Dimitar Dimitrov <[email protected]> * Address review comments Signed-off-by: gotjosh <[email protected]> * Add tests for concurrentFetchers Signed-off-by: Dimitar Dimitrov <[email protected]> * Fix bugs in tracking lastReturnedRecord Signed-off-by: Dimitar Dimitrov <[email protected]> * Renamed method Signed-off-by: gotjosh <[email protected]> * use the older context Signed-off-by: gotjosh <[email protected]> * Name variable correct variable name Signed-off-by: Dimitar Dimitrov <[email protected]> * Reduce MaxWaitTime in PartitionReader tests Signed-off-by: Dimitar Dimitrov <[email protected]> * Change test createConcurrentFetchers signature Signed-off-by: Dimitar Dimitrov <[email protected]> * Sort imports Signed-off-by: Dimitar Dimitrov <[email protected]> --------- Signed-off-by: Dimitar Dimitrov <[email protected]> Signed-off-by: gotjosh <[email protected]> Co-authored-by: gotjosh <[email protected]>
- Loading branch information
1 parent
41559b1
commit 861563d
Showing
3 changed files
with
334 additions
and
43 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.