You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running lmax disruptor with Runnable intreface, in the run method kafka messages are consumed and published to another topics with event handlers.
In LMAX ringbuffer event Handlers trace context is not porpagating, I have added manual instrumentation but still not propagating in handlers and kafka topics. Do i need to this in all Handler, how to achieve it?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Running lmax disruptor with Runnable intreface, in the run method kafka messages are consumed and published to another topics with event handlers.
In LMAX ringbuffer event Handlers trace context is not porpagating, I have added manual instrumentation but still not propagating in handlers and kafka topics. Do i need to this in all Handler, how to achieve it?
I am trying to use from the reference- https://github.com/open-telemetry/opentelemetry-java/blob/a55e9b6440057fb50db9908ec072086a7a4b3c95/context/src/main/java/io/opentelemetry/context/Context.java , but couldn't implement Runnable here.
(Scope scope = parentContext.makeCurrent()) { childSpan = tracer.spanBuilder("child-span").startSpan();
Sharing sample code reference,
Beta Was this translation helpful? Give feedback.
All reactions