Solution architecture

Even if we created a dedicated property file per single application, an opportunity to dynamically reload it without restart could be very helpful. As you may have deduced, such a solution is available for Spring Boot and therefore for Spring Cloud. In Chapter 4, Service Discovery while describing deregistration from the service discovery server, I introduced an endpoint, /shutdown, which may be used for gracefully shutting down. There is also an endpoint available for Spring context restart, which works in a similar way to that for shutdown. 

An endpoint on the client side is just one component of the much larger system that needs to be included to enable push notifications for the Spring Cloud Config. The most popular ...

Get Mastering Spring Cloud now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.