spring-cloud-bus icon indicating copy to clipboard operation
spring-cloud-bus copied to clipboard

Using REDIS with Spring Cloud Bus in Spring Boot application deployed on multiple PODs in EKS cluster

Open abhishekjoy1 opened this issue 4 years ago • 0 comments

Hi, I am new to Spring Cloud Bus. Actually, I am working on a Spring boot application, where my requirement is something like the following:

On update of certain DB table through an API, I would like to publish and "REFRESH" event. I have 3 pods in the AWS EKS cluster and in each of the POD, my Spring Boot application is running. I would like each of these PODs to receive the "REFRESH" event and refresh beans associated with the table in the application instance running on the POD.

So in this context, I found Spring Cloud Bus to be the ONLY solution to achieve this. In this context, I have been thinking to use REDIS with Cloud Bus. But I could not find any document that would guide me to implement this.

Could anyone please help here with some pointers? Thanks.

abhishekjoy1 avatar Jun 18 '21 14:06 abhishekjoy1