Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Spring Cloud Config Server + RabbitMQ

I created spring cloud config server and client and they work as expected. I have added @RefreshScope to my client and I am able to see the new properties getting fetched after hitting /refresh endpoint. But I was told that when I deploy it in cloud foundry environment , I must integrate it with RabbitMQ in order for all the instances to receive the refresh message. Is it possible to point me to a link which explains this problem and solution in detail?

like image 801
Punter Vicky Avatar asked Jun 17 '16 04:06

Punter Vicky


1 Answers

Spring Cloud Bus

This is what you need in order to propagate configuration changes to all of your servers via a message broker such as RabbitMQ.

  1. GitHub Project
  2. Documentation

Follow the instructions in the links above you're good to go.

like image 114
Kyle Anderson Avatar answered Nov 04 '22 10:11

Kyle Anderson