Skip to content

[reactor-optional] Make clean transition from reactive to async credentials provider - #3829

Open
a-TODO-rov wants to merge 1 commit into
feature/reactor-optional-1from
credentials-8x-align
Open

[reactor-optional] Make clean transition from reactive to async credentials provider#3829
a-TODO-rov wants to merge 1 commit into
feature/reactor-optional-1from
credentials-8x-align

Conversation

@a-TODO-rov

@a-TODO-rov a-TODO-rov commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

Follow up of #3785 that provides clean transition between 7.x and 8.x branches


Note

Medium Risk
Breaking public SPI renames affect any external RedisCredentialsProvider implementations at compile time; connection/auth behavior is otherwise unchanged.

Overview
Renames the credentials provider API for a cleaner 7.x → 8.x transition: resolveCredentials() becomes resolveCredentialsAsync(), and the nested RedisCredentialsProvider.CredentialsSubscription is replaced by a top-level Subscription interface (shared handle for streaming SPIs such as credentials and the event bus).

RedisCredentialsProvider javadoc now states that failures complete the returned CompletionStage exceptionally instead of implying a runtime throw. Implementations (StaticCredentialsProvider, TokenBasedRedisCredentialsProvider, test helpers) and internal callers (RedisHandshake, RedisAuthenticationHandler, RedisURI masking) are updated to the new names only; streaming subscribe/close behavior is unchanged.

Reviewed by Cursor Bugbot for commit f558dbb. Bugbot is set up for automated code reviews on this repo. Configure here.

@atakavci atakavci left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants