JedisPool pool = new JedisPool(rd.host, rd.port);
//pool.addObjects(1);
jedis = pool.getResource();
jedis.auth("W4LFU00O12");
if JedisPool is the only option, how do I add my second and third node into the JedisPool?
Thanks.
--
You received this message because you are subscribed to the Google Groups "Jedis" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jedis_redis...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Actually, Jedis support auth to RedisCluster in 2.9 and master branch. We'll soon release the official versions so you can use it from the maven repo
https://github.com/xetorthio/jedis/pull/1269
sent from mobile
OK. I don't like this feature. But it is there ready and people seem to need it even if redis community is not convinced about how useful it is.
So long story short, if you need it before jedis 2.9 you'll have to do it yourself. Otherwise, wait for 2.9 and Jedis will do it for you.
I don't like the feature either as Redis Cluster doesn't define how to handle global auth. The thing is that several cloud providers create Redis Cluster with a password and they couldn't use it without Jedis unless we implemented this.
sent from mobile
Just wondering... Which are those cloud providers?
Azure is one of them
sent from mobile