redislabs-rejson
redislabs-rejson copied to clipboard
RedisJson::createWithPhpRedis() must be an instance of Redis, instance of RedisCluster given
我们的redis是集群 代码用的是RedisCluster类 有什么办法可以适配么
Our Redis is a cluster The code uses the RedisCluster class Is there any way to adapt
I believe latest version must be support that:
https://github.com/mkorkmaz/redislabs-common/blob/master/src/RedisClient/Redis.php#L13
But this library not fully tested against a redis cluster. It is highly possible you'll see "MOVED" responses since on the systems like AWS Elasticache Redis Cluster. But it is in short term plans list to resolve issues like that.