diff --git a/README.adoc b/README.adoc index dc63f1a3..f7848f9a 100644 --- a/README.adoc +++ b/README.adoc @@ -223,6 +223,8 @@ A property source called `configserver:/` c NOTE: The URL in the property source name is the git repository, not the config server URL. +WARNING: If you use Spring Cloud Config Client, you need to set the `spring.config.import` property in order to bind to Config Server. You can read more about it https://docs.spring.io/spring-cloud-config/docs/current/reference/html/#config-data-import[in the Spring Cloud Config Reference Guide]. + === Sample Application You can find a sample application https://github.com/spring-cloud/spring-cloud-config/tree/master/spring-cloud-config-sample[here]. diff --git a/docs/src/main/asciidoc/quickstart.adoc b/docs/src/main/asciidoc/quickstart.adoc index ab1bd239..50293864 100644 --- a/docs/src/main/asciidoc/quickstart.adoc +++ b/docs/src/main/asciidoc/quickstart.adoc @@ -178,3 +178,5 @@ $ curl localhost:8080/env A property source called `configserver:/` contains the `foo` property with a value of `bar`. NOTE: The URL in the property source name is the git repository, not the config server URL. + +WARNING: If you use Spring Cloud Config Client, you need to set the `spring.config.import` property in order to bind to Config Server. You can read more about it https://docs.spring.io/spring-cloud-config/docs/current/reference/html/#config-data-import[in the Spring Cloud Config Reference Guide].