Zipkin 与 RabbitMQ 集成以进行跟踪 [英] Zipkin Integration With RabbitMQ for tracing
问题描述
我有两个微服务(Spring 启动应用程序).对于跟踪,我使用
和 zipkin.服务 A 是生产者并使用 RabbitMQ 代理发送消息.另一方面,服务 B 是消费者,他们是 @RabbitListener
.我想将 traceId(带跨度详细信息)从服务 A 交换到服务 B.我看过示例(使用brave)但无法将zipkin与rabbitMQ和trace propogation集成.
I have two Microservices (Spring boot application) . For tracing I am using <artifactId>spring-cloud-sleuth-zipkin</artifactId>
along with zipkin. Service A is producer and send message using RabbitMQ broker. On other hand Service B is the consumer, their is @RabbitListener
. I want to exchange the traceId(with span details) from service A to Service B.
I have seen the example (using brave) but unable to integrate zipkin with rabbitMQ and trace propogation.
任何人都可以帮助我如何实现这一目标吗?任何完整的分步和简单示例?
Can Any One please help me how to acheive this ?Any complete step-by-step and simple example?
推荐答案
spring verison 更新到 5.x
后终于开始工作了它已经有Brave Instrument for zipkin trace
finally got working after spring verison updated to 5.x
It already have Brave Instrument for zipkin trace
这篇关于Zipkin 与 RabbitMQ 集成以进行跟踪的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!