The property sources that are added to you application by the bootstrap context are often “remote” (e.g. from a Config Server), and by default they cannot be overridden locally, except on the command line. If you want to allow your applications to override the remote properties with their own system properties or config files, the […]

Read More →

In some cases, you may want to fail startup of a Spring Boot application if it cannot connect to the Config Server. You can do that setting the bootstrap configuration property spring.cloud.config.fail-fast=true. In this way the client startup halt with an Exception. Config server may occasionally be unavailable when your application starts, you can make […]

Read More →