Skip to content

How to use UnifiedJedis with JedisSentinelPool #3526

Answered by sazzad16
Datta19 asked this question in Q&A
Discussion options

You must be logged in to vote

@hemangi225

SentineledConnectionProvider sentineledConnectionProvider = new SentineledConnectionProvider(masterName, masterConfig, sentinels, sentinelConfig);
UnifiedJedis jedisClient = new UnifiedJedis(sentineledConnectionProvider, maxAttempts, maxRetriesDuration);

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@sazzad16
Comment options

@sazzad16
Comment options

@hemangi225
Comment options

@sazzad16
Comment options

Answer selected by Datta19
@Datta19
Comment options

@hemangi225
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants