Redis connection with Master Slave architecture. #134
Replies: 1 comment 3 replies
-
Hi Utkarsh |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Sonu,
I have a redis master slave architecture. One of the server is master and other two are slave servers. All the servers have sentinel running in background for automatic failover.
Now I want my Spring Boot application to make connection with this architecture. If master fails, one of my slave will be promoted to master. Now my configuration should be something which starts adding data in new master.
Is there any configuration in your mind using which we can achieve this. I tried below configuration but faced issues like:
Cluster not enabled for this instance
Cluster not up
-> if cluster is enabled.https://www.fatalerrors.org/a/configuration-of-redis-sentinel-mode-and-its-application-in-springboot.html
Please let us know if you have something around this.
Thanks
Utkarsh
Beta Was this translation helpful? Give feedback.
All reactions