GitHub user david-streamlio added a comment to the discussion: Golang Client: 
Async producer does not send messages

By default, pulsar producers batch their messages together before sending them 
to the broker. The sending of the messages occurs only after a certain 
threshold in terms of message count, total message size, or time has been 
reached.

Since you are sending just one message, my guess is that none of these 
thresholds are met. Can you try wrapping the sendAsync command in a for loop as 
well?

GitHub link: 
https://github.com/apache/pulsar/discussions/22224#discussioncomment-8722203

----
This is an automatically sent email for commits@pulsar.apache.org.
To unsubscribe, please send an email to: commits-unsubscr...@pulsar.apache.org

Reply via email to