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

DATAREDIS-524 - Use password to connect Redis nodes using Sentinel. #204

Closed
wants to merge 2 commits into from

Conversation

mp911de
Copy link
Member

@mp911de mp911de commented Jun 22, 2016

LettuceConnectionFactory and DefaultLettucePool now use the configured password to authenticate with Redis. Authentication is applied when connecting to nodes that were obtained from Redis Sentinel.


Related ticket: DATAREDIS-524

mp911de added 2 commits June 22, 2016 09:38
…is Sentinel with LettuceConnectionFactory.

Prepare issue branch.
LettuceConnectionFactory and DefaultLettucePool now use the configured password to authenticate with Redis. Authentication is applied when connecting to nodes that were obtained from Redis Sentinel.
christophstrobl pushed a commit that referenced this pull request Jul 6, 2016
LettuceConnectionFactory and DefaultLettucePool now use the configured password to authenticate with Redis. Authentication is applied when connecting to nodes that were obtained from Redis Sentinel.

Original Pull Request: #204
christophstrobl added a commit that referenced this pull request Jul 6, 2016
Some formatting changes.

Original Pull Request: #204
christophstrobl pushed a commit that referenced this pull request Jul 6, 2016
LettuceConnectionFactory and DefaultLettucePool now use the configured password to authenticate with Redis. Authentication is applied when connecting to nodes that were obtained from Redis Sentinel.

Original Pull Request: #204
christophstrobl added a commit that referenced this pull request Jul 6, 2016
Some formatting changes.

Original Pull Request: #204
@christophstrobl christophstrobl deleted the issue/DATAREDIS-524 branch July 6, 2016 12:29
@silentFred
Copy link

silentFred commented Sep 19, 2019

I've been all over the web and nowhere is there a working example of how to connect to a password secured sentinel cluster. I've tried both Jedis and Lettuce connection factories - seems both of them do not support password auth on Sentinel nodes. This ticket seems to address that, but running with Spring Boot 2.1.7 I am still faced with this issues. Am I missing something? 🤔

@mp911de
Copy link
Member Author

mp911de commented Sep 20, 2019

Authenticating against Sentinel is a newer Redis feature that is supported by upgrading to Lettuce 5.2 (see redis/lettuce#1002). Lettuce 5.2 will be released in late September.
Configuration-wise, the authentication password for Sentinel and data nodes is considered to be the same.

@silentFred
Copy link

silentFred commented Oct 3, 2019 via email

@cdekker
Copy link

cdekker commented Oct 3, 2019

@silentFred thanks! Got a sample project somewhere to see that working with Spring Boot? I guess you'd need to configure that setup programmatically instead of using the default starters?

@silentFred
Copy link

silentFred commented Oct 3, 2019 via email

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.

4 participants