Quantcast
Channel: How can i find the list of nodes in a redis cluster? - Stack Overflow
Browsing latest articles
Browse All 2 View Live

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 Article



How 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
Browsing latest articles
Browse All 2 View Live




Latest Images