Open dmytroDragan opened 9 years ago
so for now we are not able to have embadded redis for JedisCluster client. May be some others options ?
same story: #79
This fork has support for it
https://github.com/aarondwi/embedded-redis-cluster#using-ephemeral-ports
Can we take the changes on this repo?
As far as I figure out, Redis Cluster and "Redis master slave model (made by slaveof replication) with sentinel" are two different things. So we can not enable cluster mode on second one. Two make a real Redis Cluster (which compatible with JedisCluster), we need "create" N nodes and "start"(configure) it.
Suggestion steps:
Create N nodes.
For each:
Setting up cluster
Using Jedis cluster functions similar to redis-trib.rb
Additional stuff
"Watch" functionality
For each: