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