equanz commented on issue #78:
URL: 
https://github.com/apache/pulsar-client-node/issues/78#issuecomment-1278689559

   @jbmusso
   If batchingEnabled is false(default), Producer#flush does nothing.
   From C++ v2.8.2, pending messages fail when Producer#close is called.
   https://github.com/apache/pulsar/pull/11570
   
https://github.com/apache/pulsar/blob/v2.8.2/pulsar-client-cpp/lib/ProducerImpl.cc#L609-L610
   
   To fix it, for example, simply await Producer#send.
   
   For more detail, please see: 
https://github.com/apache/pulsar-client-cpp/issues/51


-- 
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-unsubscr...@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to