Replies: 1 comment
-
Hello! Reopening this discussion to make it searchable. |
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
-
Hi, I am trying to propagate a local thread variable from an user of
SqsAsyncClient
, which returns an asynchronousCompletableFuture
.So far, I have explored two possible configurations of executors. Still, these executors seem to be invoked directly from the thread of Netty’s Event Loop Model, rather than from the user's thread of
SqsAsyncClient
.Below, I have attached a simple example demonstrating this scenario:
In the above example, the
ThreadLocalPropagationThreadFactory
is invoked by the event loop model thread instead of the user's thread.Could you please advise on how to properly propagate the local thread variable in this context (I expect that "visible log in the thread" will be logged in the console log)?
This question is closely linked to the following issue
Beta Was this translation helpful? Give feedback.
All reactions