With Redis cluster configurations that have only one endpoint (AWS ElastiCache for example), the go-redis UniversalClient will create Client object, not ClusterClient, which will not be able to execute commands on cluster nodes.
This pull request added ClusterEnabled config in RedisConfig struct to enable configuring support for Redis cluster specifically.
With Redis cluster configurations that have only one endpoint (AWS ElastiCache for example), the go-redis
UniversalClient
will createClient
object, notClusterClient
, which will not be able to execute commands on cluster nodes.This pull request added
ClusterEnabled
config inRedisConfig
struct to enable configuring support for Redis cluster specifically.