From fc82c93175e02212ca91b2e6821ceea40952f5bb Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Mon, 23 Feb 2015 15:40:10 +0000 Subject: [PATCH] Add explicit ref to serviceId for disovery --- docs/src/main/asciidoc/spring-cloud-config.adoc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/src/main/asciidoc/spring-cloud-config.adoc b/docs/src/main/asciidoc/spring-cloud-config.adoc index f50d6144..006d6910 100644 --- a/docs/src/main/asciidoc/spring-cloud-config.adoc +++ b/docs/src/main/asciidoc/spring-cloud-config.adoc @@ -338,7 +338,10 @@ that by setting `spring.cloud.config.discovery.enabled=true` (default address, e.g. in `eureka.client.serviceUrl.defaultZone`. The price for using this option is an extra network round trip on start up to locate the service registration. The benefit is that the Config Server -can change its co-ordinates, as long as Eureka is a fixed point. +can change its co-ordinates, as long as Eureka is a fixed point. The +default service id is "CONFIGSERVER" but you can change that on the +client with `spring.cloud.config.discovery.serviceId` (and on the server +in the usual way for a service, e.g. by setting `spring.application.name`). [[config-client-fail-fast]] === Config Client Fail Fast