I am using Zipkin Slueth with Spring boot.
Now my zipkin is working fine in normal case but when I spawn 3 new threads from main thread, it generate different traces and not 1 trace.
So i am unable to see the complete request. Same starts working if I do everything in main thread?
My Pom for including dpendencies
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-zipkin</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-sleuth</artifactId>
</dependency>
Properties
spring.zipkin.baseUrl: http://172.16.3.197:9411/
spring.slueth.enabled: true
spring.sleuth.sampler.percentage: 1
My spring cloud version is Dalton.SR5
So slueth sends traces to zipkin auto. This is all I have configured for zipkin.
Can i use rxjava schedules hook? How? I am unable to use it?