Expectation : We want to redirect our Read traffic(GET) to replica servers, and reduce the load from the master Ip. In production we are using multiple machine, each instance on separate server. But to simulate this setup, we have configured redis on local machine for testing. and following are there details :
Current setup : 3 Sentinel, 1 Master and 2 Slave Sentinel1 : 127.0.0.1 26379 Sentinel2 : 127.0.0.1 26380 Sentinel3 : 127.0.0.1 26381
Master : 127.0.0.1 6379 Slave1 : 127.0.0.1 6380 Slave2 : 127.0.0.1 6381
Wer are using the attached python code, we are getting master ip but, we are unable to discover replica ips.