micronaut-projects / micronaut-redis

Integration between Micronaut and Redis
Apache License 2.0
29 stars 35 forks source link

Redis Support Connecting to ElastiCache with Master/Replica #430

Closed RealityCtrl closed 2 months ago

RealityCtrl commented 1 year ago

Feature description

AWS Elasticache Supports read replicas without using clustering mode which is supported by lettuce using the StatefulRedisMasterReplicaConnection class but micronaut does not expose any configuration to support this configuration. This means we can only connect to the master node and not spread the load of reading the cached values around the replicas.

Mike-Svendsen-IL commented 2 months ago

I'm looking into implementing this and getting a PR open.