Replies: 1 comment
-
I have same problem since I upgraded Quarkus version from
Do you have any suggestion to solve this problem? |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Since 2.10.X, it seems like slf4j MDC is being cleared behind the scenes by Vert.X see #25311
I have a scenario where I add to MDC in a resteasy reactive request (Vertx context is there and on executor thread as its set as blocking) and then use the Vertx HTTP client which uses the eventloop and this eventloop thread has my MDC (great!). The calls to vertx HTTP client finish and my executor has been blocked waiting for the result. But next thing the MDC disappears because the eventloop thread used by the HTTP client has gone off and done something else and decided to clear my MDC.
I think that integrating MDC with Vertx is an issue in this case. Perhaps the handoff to vertx HTTP client should create a new MDC and copy to it as opposed to referring to my MDC? Just wondering if there are thoughts around solving this.
Beta Was this translation helpful? Give feedback.
All reactions