machinery
machinery copied to clipboard
Support Redis cluster with single endpoint configuration
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.