-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I want to propagate TraceId to all places where parallelStream() and CustomForkJoinPool is used. #138
Comments
See connected issue in Sleuth: spring-cloud/spring-cloud-sleuth#2297 |
The classes from the tracing domain make it a bit hard for me to understand the suggestion. Consider providing an example with only classes from the JDK and the context-propagation library so that it is more comprehensible. I'm skeptical we can do anything for the If you have some suggestions, please update the issue. |
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed. |
Any news on that? |
Have you tried using |
Not really. |
The problem is that this will return the |
I would like to know how to propagate the TraceId within the Java Stream API in Spring Cloud Sleuth.
In the code below, the trace_id is not propagated, and each client ends up having an individual TraceId.
However, if we modify the above code as shown below, the TraceId is propagated.
Unfortunately, applying SpanInScope to all existing Stream API code as mentioned above has its limitations. Is there a way to inject SpanInScope with minimal modifications to the existing Stream API code?
Thank you.
The text was updated successfully, but these errors were encountered: