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


   ### Motivation
   
   It is a dangerous operation to expose the `MessageChannel` to the user, and 
the user may write data and other series of custom operations to the chan. This 
may interfere with `messageCh` correctly receiving data from the broker. We 
should recommend users to use consumer.Chan() instead of it, instead of 
directly exposing a readable and writable channel
   
   ### Modifications
   
   remove MessageChannel from consumer options
   
   


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


Reply via email to