How to use Redis Cluster for RedisCacheAdapter? (Node.js)

Hello. :smile:

I am trying to use Redis Cluster in AWS.
The Redis Cluster consists of 2 shards having 2 nodes each.

Could you explain how to connect redis cluster with parse server for cache?
or Does it automatically work with AWS Redis Cluster endpoint?
I am confusing even I read aws doc

I found the official doc but I am not sure how to use it.

It is my code using Parse Server with default settings without cluster option.

const redisOptions = {url: 'redis://' + process.env.REDIS_CACHE_URL}
const redisCache = new RedisCacheAdapter(redisOptions)

parseConfig.cacheAdapter = redisCache

Thank you.

Parse Serverโ€™s Redis version is old. v3.1.2
I think we need to update Redis version to latest for using cluster mode.

Have you tried to connect using the Configuration Endpoint listed in AWS panel?