Zipkin Integration With RabbitMQ for tracing

元气小坏坏 提交于 2021-02-08 11:40:08

问题


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?


回答1:


finally got working after spring verison updated to 5.x It already have Brave Instrument for zipkin trace



来源:https://stackoverflow.com/questions/51661009/zipkin-integration-with-rabbitmq-for-tracing

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!