- 服务端
- 验证
一.服务端
选取Spring Cloud Sleuth(zipkin)作为链路追踪组件
下载zipkin
https://dl.bintray.com/openzipkin/maven/io/zipkin/java/zipkin-server/
运行
java -jar zipkin-server-2.11.8-exec.jar
二.验证
flow-eureka-consumer01(ribbon, 8781)和flow-eureka-consumer02(openfeign, 8782)相互调用服务
参看
服务消费者Eureka Client(ribbon)
服务消费者Eureka Client(openfeign)
http://localhost:9411/
http://localhost:8781/hello/consumer/robin
http://localhost:8782/hello/consumer/robin