spring-cloud / spring-cloud-sleuth

Distributed tracing for spring cloud

Home Page:https://spring.io/projects/spring-cloud-sleuth

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TraceContext is null in rxjava3 and hence the traceability of the request across all the threads is lost

Malika-Mindi opened this issue · comments

Describe the bug
springBootVersion = "2.7.5"
springCloudVersion = "2021.0.4"
rxJavaVersion = "3.0.7"

Is there a workaround on how we can fix this. Some suggestions were made to use RxJavaPlugins to propagate TraceContext across Threads . I could not find any code samples doing this . Any help will be much appreciated.
Thank you

This issue does not exist in rxJavaVersion = "1.3.8"

Sample

we don't support rx java > 1