This example (co-authored with Brandon Amos of Redis) showcases using Jedis for configured failover between two instances of Redis. This works well when the client is responsible for such decision making rather than using a global load balancer. -
View it on GitHub