thomas-bousquet opened a new pull request, #1409: URL: https://github.com/apache/pulsar-client-go/pull/1409
Fixes #1357 ### Motivation When flushing concurrently with the same producer, the producer potentially creates a deadlock when the callback is only called once but the client waits for the flush request to be done in all `FlushWithCtx()`. ### Modifications Change the callback function for to a list of callbacks. ### Verifying this change Testcase `TestConcurrentFlushInProducer` added in the producer test suite. -- 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: commits-unsubscr...@pulsar.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org