简体   繁体   中英

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?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM