-1

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?

Ankit Bansal
  • 2,162
  • 8
  • 42
  • 79

1 Answers1

0

You're using an ancient version of Spring CLoud. Please upgrade to latest Edgware. The RxJava support is very basic so we suggest that you use Project Reactor. To do that just migrate to Finchley and it should work out of the box with WebFlux.

Marcin Grzejszczak
  • 10,624
  • 1
  • 16
  • 32