Same traceId when a batch is consumed from kafka #6094
Unanswered
shravani154
asked this question in
Q&A
Replies: 1 comment 2 replies
-
hi @shravani154! which OpenTelemetry Javaagent version are you using? and how are you consuming the batch? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In java Instrumentation when a batch is consumed from kafka/eventhub the entire batch creates a single trace, thus all messages in the batch have the same trace id. Even when the batch-mode property is set to false I see same trace id for all the messages. I want to have a different trace id for all the messages consumed. I tried setting max-poll-records consumer property to 1, then it solves my usecase giving different trace ids but it is affecting the performance when data sent in larger volume. Any solution which solves my use case is appreciable.
Beta Was this translation helpful? Give feedback.
All reactions