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 ThreadLocals for non-Reactor Flux and Mono implementations #3478

Closed
chemicL opened this issue May 26, 2023 · 0 comments
Closed

Propagate ThreadLocals for non-Reactor Flux and Mono implementations #3478

chemicL opened this issue May 26, 2023 · 0 comments
Assignees
Labels
area/context This issue is related to the Context
Milestone

Comments

@chemicL
Copy link
Member

chemicL commented May 26, 2023

Similarly to #3418, we need to be able to distinguish Flux and Mono that are part of the reactor-core project vs custom implementations, e.g. from reactor-netty, reactor-pool, and any custom implementations to be able to restore ThreadLocal values upon entry to a dedicated CoreSubscriber. We need to treat custom implementations the same way as foreign Publishers and assume they can deliver signals from Threads that are not in control of the Scheduler wrapping that automatic context propagation uses.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/context This issue is related to the Context
Projects
None yet
Development

No branches or pull requests

1 participant