questions icon indicating copy to clipboard operation
questions copied to clipboard

go micro v2.9.1下的broker如何配合opentracing使用?

Open godliam opened this issue 2 years ago • 1 comments

如题,我使用的go micro版本为2.9.1。使用了go-plugins/broker/kafka/v2 v2.9.1。并使用opentracing、jeager配置了链路追踪

我在生产者发送消息时,传递了带有tracer的Context。但好像在消费者的消费方法里收到的Context并不携带span。我该怎么做能够将它们串起来?是否有效相关代码示例?

谢谢!

godliam avatar Jan 03 '23 08:01 godliam

@printfcoder

godliam avatar Jan 03 '23 08:01 godliam