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 upstream sources #3418

Merged
merged 3 commits into from
Apr 3, 2023

Commits on Mar 28, 2023

  1. Propagate ThreadLocals for non-Reactor upstream sources

    Factory methods for creating `Flux` and `Mono` from non-Reactor sources
    now restore `ThreadLocal` values when `Hooks.enableAutomaticContextPropagation()`
    was called in the following cases:
    
    * Flux.from(Publisher)
    * Mono.from(Publisher)
    * Mono.fromDirect(Publisher)
    * Mono.fromFuture(CompletableFuture)
    * Mono.fromCompletionStage(CompletionStage)
    
    and relevant overrides.
    
    Fixes #3366.
    chemicL committed Mar 28, 2023
    Configuration menu
    Copy the full SHA
    fb60bf8 View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2023

  1. Improved tests

    chemicL committed Mar 30, 2023
    Configuration menu
    Copy the full SHA
    d579fff View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c4f669b View commit details
    Browse the repository at this point in the history