SentinelServers
A comma-separated list of Redis Sentinel host:port endpoints used to discover the current master.
Data Type
string
Default Value
""
Remarks
In Sentinel mode, you do not need to set Server or Port. The component discovers the current master dynamically from the Sentinel nodes listed in this property and connects to it for all data operations.
When SentinelServers is set, the component first connects to a Sentinel node from this list, issues SENTINEL get-master-addr-by-name using SentinelMasterName to look up the current master, verifies the returned node's role, and then connects to that master for all data operations.
Specify each endpoint as host:port and separate multiple endpoints with a comma. If the :port portion is omitted for an endpoint, the component uses the default Sentinel port 26379. For example:
SentinelServers=sentinel1:26379,sentinel2:26379,sentinel3;SentinelMasterName=mymaster;
SentinelServers cannot be used together with EnableCluster set to True. Sentinel mode and Cluster mode are mutually exclusive deployment topologies.