July 2017
Intermediate to advanced
414 pages
11h 18m
English
With the preceding approach, configuration parameters can be changed without restarting the microservices. This is good when there are only one or two instances of the services running. What happens if there are many instances?
For example, if there are five instances, then we have to hit /refresh against each service instance. This is definitely a cumbersome activity.
The following diagram shows the solution using Spring Cloud Bus:

The Spring Cloud Bus provides a mechanism to refresh configurations across multiple instances without knowing how many instances there are, nor their locations. ...
Read now
Unlock full access