Gleiphir2769 opened a new pull request, #1065:
URL: https://github.com/apache/pulsar-client-go/pull/1065

   Fixes #1064 
   
   ### Motivation
   
   If we set producer `DisableBatching=true`, it will be panic when call 
`producer.Flush()`. More details in #1064 .
   
   ### Modifications
   
   - Avoid panic in non-batching producer
   - Add unit test to cover `Flush()` in non-batching producer.
   
   ### Verifying this change
   
   - [x] Make sure that the change passes the CI checks.
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to