Hello guys. Does anybody has/had a problem to prop...
# micronaut
a
Hello guys. Does anybody has/had a problem to propagate MDC context to the Netty Event Loop threads in Micronaut project? I have a problem to see propagated Trace ID in logs while providing a HTTP call to some extra service... Micronaut version:
4.8.2
t
Im not qualified to answer anything about micronaut, only used it a bit 2 years ago, but MDC and eventloops usually dont work out of the box, since MDC tends to use ThreadLocal variables, and that doesnt work with virtual threads/event loops. The trick is to pass a context object in one way or another.