Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Propagate any existing server context into a Webclient reactive code (helidon-2.x) #3756

Merged
merged 8 commits into from
Jan 13, 2022

Conversation

spericas
Copy link
Member

@spericas spericas commented Dec 16, 2021

This PR is about Helidon's context propagation to non-request threads (typically Netty threads). It makes the current context available to any reactive code handler in WebClient and also ensures context is propagated if req.next() is called inside Helidon in a different thread. Customer has verified that this PR fixes their application. See Issue #3734 for a discussion.

Signed-off-by: Santiago Pericasgeertsen <[email protected]>
@spericas spericas added this to the 2.4.1 milestone Dec 16, 2021
@spericas spericas self-assigned this Dec 16, 2021
@spericas spericas changed the title Propagate any existing server context into a newly created WebClient thread Propagate any existing server context into a newly created WebClient thread (helidon-2.x) Dec 16, 2021
@spericas spericas closed this Dec 17, 2021
…a Single with a SingleWithContext to ensure any actions or functions called have context available.

Signed-off-by: Santiago Pericasgeertsen <[email protected]>
@spericas spericas reopened this Dec 17, 2021
@spericas spericas removed this from the 2.4.1 milestone Dec 18, 2021
@spericas spericas changed the title Propagate any existing server context into a newly created WebClient thread (helidon-2.x) WIP: Propagate any existing server context into a newly created WebClient thread (helidon-2.x) Dec 18, 2021
@spericas spericas added the draft label Dec 18, 2021
@spericas spericas changed the title WIP: Propagate any existing server context into a newly created WebClient thread (helidon-2.x) WIP: Propagate any existing server context into a Webclient reactive code (helidon-2.x) Dec 20, 2021
@spericas spericas requested a review from Verdent December 20, 2021 20:23
@barchetta barchetta added this to the 2.4.2 milestone Dec 21, 2021
Signed-off-by: Santiago Pericasgeertsen <[email protected]>
@spericas spericas changed the title WIP: Propagate any existing server context into a Webclient reactive code (helidon-2.x) Propagate any existing server context into a Webclient reactive code (helidon-2.x) Jan 4, 2022
Signed-off-by: Santiago Pericasgeertsen <[email protected]>
@spericas spericas requested a review from danielkec January 4, 2022 20:39
@spericas spericas merged commit c035631 into helidon-io:helidon-2.x Jan 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants