We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
perf code will works well when batch builder set to KeyBasedBatchBuilder
panic: multi batches container not support Flush(), please use FlushBatches() instead
Set BatcherBuilderType to pulsar.KeyBasedBatchBuilder in perf code, run the perf with
$ perf -r 1000 my-topic
Pulsar version: any
The text was updated successfully, but these errors were encountered:
fix: batch flush method (#476)
cd210a1
Signed-off-by: jonyhy96 <hy352144278@gmail.com> Fixes #475 ### Motivation Fix wrong batch flush method bug. ### Modifications Check if batchBuilder is multi batches before flush.
Successfully merging a pull request may close this issue.
Expected behavior
perf code will works well when batch builder set to KeyBasedBatchBuilder
Actual behavior
panic: multi batches container not support Flush(), please use FlushBatches() instead
Steps to reproduce
Set BatcherBuilderType to pulsar.KeyBasedBatchBuilder in perf code, run the perf with
System configuration
Pulsar version: any
The text was updated successfully, but these errors were encountered: