godchen0212 opened a new issue #443: URL: https://github.com/apache/pulsar-client-go/issues/443
**Is your feature request related to a problem? Please describe.** I want to add opentracing tracking for message delivery. Executing opentracing related code in the interceptor is an elegant way which won't cause a bad influence on my logic code. However, the interceptor has no context parameter, which makes it difficult to pass in the relevant context. **Describe the solution you'd like** I want to add context param in ProducerInterceptor's BeforeSend method. BeforeSend(producer Producer, message *ProducerMessage) ↓ BeforeSend(ctx context.Context, producer Producer, message *ProducerMessage) ---------------------------------------------------------------- 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]
