Skip to content

Adds authentication in redis cluster#37

Open
naveenchlsn wants to merge 3 commits into
Swiggy:internal-releasefrom
naveenchlsn:cluster_authentication
Open

Adds authentication in redis cluster#37
naveenchlsn wants to merge 3 commits into
Swiggy:internal-releasefrom
naveenchlsn:cluster_authentication

Conversation

@naveenchlsn
Copy link
Copy Markdown

@naveenchlsn naveenchlsn commented Nov 4, 2019

Currently, conductor doesn't initialize the Jedis cluster with a password.
Changing that based on the discussion here: redis/jedis#1269

Timeout and max attempt values are the current values used in the library.
https://github.com/xetorthio/jedis/blob/master/src/main/java/redis/clients/jedis/BinaryJedisCluster.java



@Test
public void onGetWithNullPasswordInHosts_commandsIsNotNull() {
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Better to have a test with not null password.

Copy link
Copy Markdown
Author

@naveenchlsn naveenchlsn Nov 5, 2019

Choose a reason for hiding this comment

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

Sure. Added the same. Please take a look now

Copy link
Copy Markdown

@manan164 manan164 left a comment

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.

3 participants