treuherz commented on PR #961:
URL: https://github.com/apache/pulsar-client-go/pull/961#issuecomment-1914447009

   It would be much easier to use this interceptor with tracing libraries like 
OpenTelemetry if a Context was included in the signature. I've gone into more 
detail in [this other PR](https://github.com/apache/pulsar-client-go/pull/1157) 
but the short version is that if span IDs, timings, etc can be passed through 
the context then it removes the need to maintain an external data structure, 
managed by the interceptor, for every request.


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