Answer by SergeAx for How can i find the list of nodes in a redis cluster?
Use connection.getPartitions().getPartitions() to get List of RedisClusterNode or connection.getPartitions().iterator() to iterate them.
View ArticleHow can i find the list of nodes in a redis cluster?
I have created a redis cluster client as follows: // create uri RedisURI redisURI = RedisClusterURIUtil.toRedisURI(URI.create("redis://localhost:6379")); RedisClusterClient redisClusterClient =...
View Article
More Pages to Explore .....