Skip to content

[reactor-optional] Remove RedisCredentialsProvider and promote CredentialsProvider as primary - #3838

Open
a-TODO-rov wants to merge 2 commits into
feature/reactor-optional-1from
creds-dirB-8x
Open

[reactor-optional] Remove RedisCredentialsProvider and promote CredentialsProvider as primary#3838
a-TODO-rov wants to merge 2 commits into
feature/reactor-optional-1from
creds-dirB-8x

Conversation

@a-TODO-rov

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

Copy link
Copy Markdown
Collaborator

alternative to #3829 and follow up of #3837


Note

High Risk
This is a breaking public API change across authentication types and method names, affecting all custom credential providers and connection setup code on upgrade.

Overview
Breaking API cleanup for Redis authentication: RedisCredentialsProvider is removed and CredentialsProvider becomes the sole SPI, with async resolution renamed to resolveCredentialsAsync() (replacing resolveCredentials()).

Streaming credential subscriptions now return a top-level Subscription interface (extracted from the old nested CredentialsSubscription). Implementations and call sites are updated across the driver—RedisURI, handshake, RedisAuthenticationHandler, StaticCredentialsProvider, token-based auth, and tests—without changing re-auth or streaming behavior.

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

@a-TODO-rov a-TODO-rov changed the title [reactor-optional] Remove RedisCredentialsProvider and promote CredentialsProvider as pr [reactor-optional] Remove RedisCredentialsProvider and promote CredentialsProvider as primary Jul 10, 2026

@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.

Lets address those name changes in docs as well.
Other than that, 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