Class RedisStaticMasterReplicaConfiguration

java.lang.Object
org.springframework.data.redis.connection.RedisStaticMasterReplicaConfiguration
All Implemented Interfaces:
RedisConfiguration, RedisConfiguration.StaticMasterReplicaConfiguration, RedisConfiguration.WithAuthentication, RedisConfiguration.WithDatabaseIndex, RedisConfiguration.WithPassword

public class RedisStaticMasterReplicaConfiguration extends Object implements RedisConfiguration, RedisConfiguration.StaticMasterReplicaConfiguration
Configuration class used for setting up RedisConnection via RedisConnectionFactory using the provided Master / Replica configuration to nodes know to not change address. Eg. when connecting to AWS ElastiCache with Read Replicas.
Please also note that a Master/Replica connection cannot be used for Pub/Sub operations.
Since:
2.1
Author:
Mark Paluch, Christoph Strobl, Tamer Soliman