You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/04/20 01:15:02 UTC

[GitHub] [pulsar-client-go] merlimat opened a new pull request #230: Removed unnecessary flush in sync Send() operation

merlimat opened a new pull request #230:
URL: https://github.com/apache/pulsar-client-go/pull/230


   ### Motivation
   
   In `Producer.Send()` we're unnecessarily forcing a flush operation. This piece of code was a remnant from an early prototype and should have been removed when the proper handling of batching was introduced.
   
   In this case, since we're calling `internalSendAsync()` with `flushImmediately=true` the message will be immediately sent.


----------------------------------------------------------------
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.

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