This version is still in development and is not considered stable yet. For the latest stable version, please use Spring Cloud Config 4.1.4!spring-doc.cn

Overriding Properties Using Placeholders

A cleaner way to override properties without enabling config first bootstrap is to use property placeholders in the configuration coming from the config server.spring-doc.cn

For example if the configuration coming from the config server contains the following propertyspring-doc.cn

hello=${app.hello:Hello From Config Server!}

You can override the value of hello coming from the config server by setting app.hello in your local application configurationspring-doc.cn

app.hello=Hello From Application!