liuhao2050 opened a new issue, #803:
URL: https://github.com/apache/pulsar-client-go/issues/803

   
   Receive method of Consumer returns Message directly, but if we want attach 
something(ex SpanContext)  in Receive method  to context, we can't  bring it 
out  without change type of Message interface.
   
   So, it is possible to add a Context or find some other way to set a context 
for Message ?
   
   ```go
   type Consumer interface {
        Receive(context.Context) (Message, error)
           ...
   }
   
   ```
   
   Thank you.
   


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