Repository navigation
[reactor-optional] Deprecate Context utils - #3834
Merged
Merged
Conversation
atakavci
reviewed
Jul 10, 2026
| * | ||
| * @return a {@link Mono} emitting the {@link TraceContextProvider} held in the subscriber {@link Context}, if any. | ||
| */ | ||
| public static Mono<TraceContextProvider> getContext() { |
Collaborator
There was a problem hiding this comment.
nit: getContextProvider , clearContextProvider
a-TODO-rov
force-pushed
the
tracing-deprecate-context-7x
branch
from
July 10, 2026 15:54
5735ede to
4d9396a
Compare
Merged
a-TODO-rov
added a commit
that referenced
this pull request
Aug 18, 2026
This reverts commit 8e5ed16.
a-TODO-rov
added a commit
that referenced
this pull request
Sep 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #3614 and follow up of #3827
Note
Low Risk
Behavior-preserving API relocation with deprecations; only reactive tracing context wiring and call-site migration in tests change.
Overview
Moves Reactor
Contexthelpers for trace propagation offTracingand onto a new public nested typeAbstractRedisReactiveCommands.ReactorTraceContext(getContext,clearContext,withTraceContextProvider). Reactive command creation now reads trace context viaReactorTraceContext.getContext()instead ofTracing.getContext().The three equivalent
Tracingstatic methods are deprecated since 7.7 (removal in 8.0) with Javadoc pointing toReactorTraceContext.BraveTracingIntegrationTestsis updated to useReactorTraceContext.withTraceContextProviderforcontextWrite.Reviewed by Cursor Bugbot for commit 4d9396a. Bugbot is set up for automated code reviews on this repo. Configure here.