Replies: 1 comment
-
Finally I solved my problem with the following code:
If I would like to "activate" particular observation, my code is:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Kafka batch listener takes all records polled in batch. Each record may carry own trace. When batch is done, I would like to observe it in each trace. Pseudocode:
How to implement
spanOf(Record record)
?I see that record listener does the following
But I can't find a way to reuse existing components. As workaround I copied source code from W3CTraceContextPropagator.
I would like to see example how to do it properly
Beta Was this translation helpful? Give feedback.
All reactions