Skip to content

Trace id is not carried forwarded in case of threads() used in route #11

@PradeepNain

Description

@PradeepNain

Hi, We are using sleuth camel.
We get the traces from the API and carry forward the trace in b3 header to camel.
Everything was working fine, but then we started using the threads() in the route, after that all the trace is not getting carried forward and is broken.
We are not able to visualize the traces.

Before: working
from(kafkaProperties)
.routeId(ROUTE_ID)
.process()..

After: Not working
from(kafkaProperties)
.threads()
.executorService(executorService)
.routeId(ROUTE_ID)
.process()..

New traces are getting created per processor

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions