steve0511 / resty-redis-cluster

Openresty lua client for redis cluster.
Apache License 2.0
376 stars 134 forks source link

Connecting to Aws Elastic cache - redis (Cluster enabled) configuration end point #92

Open AnoopPutta opened 3 years ago

AnoopPutta commented 3 years ago

Hi @steve0511, i see from the examples that the we need to provide all the nodes of the cluster in the configuration. But with AWS redis elastic cache (cluster enabled) all that AWS provide is just the configuration end point. Does the code automatically discover the nodes from this? Please advice.

toredash commented 3 years ago

You don't need to list all nodes in the cluster. As long as the cluster is operational / in good state, each node will know of all the other nodes.

If you use the configuration endpoint provided by AWS, that should be enough for the redlis-client to identify which nodes are part of the cluster.

icodetlrn commented 1 year ago

Hi @AnoopPutta, were you able to connect to AWS elastic cache instance ? I continuously get timeout issues though i have tried out configuration examples.

AnoopPutta commented 1 year ago

Hi, I am not using this anymore. Sorry cannot help much.