You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/09/08 07:28:20 UTC
[GitHub] [pulsar-client-node] rkaw92 commented on issue #230: await flush() does not actually flush
rkaw92 commented on issue #230:
URL: https://github.com/apache/pulsar-client-node/issues/230#issuecomment-1240333920
I currently rely on back-off, but it's not optimal. As for filling the queue, I'd think that issuing exactly as many `send()` operations as should fit in the buffer (exactly equal to maxPendingMessages) and then flushing should get rid of them all, so that the new pending messages = 0.
The code is running the latest master version from this repository. As for the C++ counterpart, it's 2.9.1 from a .deb.
I'll try to debug the C++ library - clearly, there's something going on with flush unreliability. I'll also check if the behavior is the same between the normal Producer and the PartitionedProducer.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org