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
main( ba1a7e1 )
batchingEnabled=false
Producer#flush
Producer#flushAsync
pulsar-client-cpp/lib/ProducerImpl.cc
Lines 665 to 666 in ba1a7e1
When Producer#flush or Producer#flushAsync is called, wait for the completion of sending messages, even if non-batched messages.
Producer#flush and Producer#flushAsync don't guarantee the completion of sending non-batched messages.
Currently, ProducerImpl#flushAsync do nothing if batchMessageContainer_ is not initialized.
ProducerImpl#flushAsync
batchMessageContainer_
Lines 331 to 333 in ba1a7e1
In Java client, wait last sent messages. We should implement C++ client like it. apache/pulsar#2103
The text was updated successfully, but these errors were encountered:
I reproduced it and I'll start fixing it.
Sorry, something went wrong.
I'll close this issue because #98 was merged. Thank you @shibd.
shibd
No branches or pull requests
Search before asking
Version
main( ba1a7e1 )
Minimal reproduce step
batchingEnabled=false
Producer#flush
orProducer#flushAsync
pulsar-client-cpp/lib/ProducerImpl.cc
Lines 665 to 666 in ba1a7e1
What did you expect to see?
When
Producer#flush
orProducer#flushAsync
is called, wait for the completion of sending messages, even if non-batched messages.What did you see instead?
Producer#flush
andProducer#flushAsync
don't guarantee the completion of sending non-batched messages.Anything else?
Currently,
ProducerImpl#flushAsync
do nothing ifbatchMessageContainer_
is not initialized.pulsar-client-cpp/lib/ProducerImpl.cc
Lines 331 to 333 in ba1a7e1
In Java client, wait last sent messages. We should implement C++ client like it.
apache/pulsar#2103
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: