micronaut-projects / micronaut-redis

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

MasterReplica and ReadFrom Support #544

Closed Mike-Svendsen-IL closed 3 months ago

Mike-Svendsen-IL commented 3 months ago

This PR adds support for using a MasterReplica connection by providing the redis.replica-uris setting in combination with the redis.uri setting.

It adds support for configuring the Redis ReadFrom settings for MasterReplica and Cluster connections through the redis.read-from setting, allowing users to configure how they would like to spread reads across their redis instances.

This implements the enhancement requested in https://github.com/micronaut-projects/micronaut-redis/issues/430

CLAassistant commented 3 months ago

CLA assistant check
All committers have signed the CLA.

graemerocher commented 3 months ago

Thanks for the contribution!