-
we are using jedis version 4.4.0. we are using UnifiedJedis client in our java application , for high availablity we need JedisSentinelPool so how can we use JedisSentinelPool with UnifiedJedis. |
Beta Was this translation helpful? Give feedback.
Answered by
sazzad16
Sep 11, 2023
Replies: 1 comment 7 replies
-
Check JedisSentineled. |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@hemangi225
SentineledConnectionProvider sentineledConnectionProvider = new SentineledConnectionProvider(masterName, masterConfig, sentinels, sentinelConfig);
UnifiedJedis jedisClient = new UnifiedJedis(sentineledConnectionProvider, maxAttempts, maxRetriesDuration);