From ae2bba4d27fe7c9e7a1d4a97518021c42260b6a2 Mon Sep 17 00:00:00 2001 From: Olga Maciaszek-Sharma Date: Fri, 7 Sep 2018 14:32:11 +0200 Subject: [PATCH] Adjust doc to order property changes. --- docs/src/main/asciidoc/spring-cloud-commons.adoc | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/docs/src/main/asciidoc/spring-cloud-commons.adoc b/docs/src/main/asciidoc/spring-cloud-commons.adoc index 40ef3984..2c669209 100644 --- a/docs/src/main/asciidoc/spring-cloud-commons.adoc +++ b/docs/src/main/asciidoc/spring-cloud-commons.adoc @@ -262,21 +262,7 @@ the `getOrder()` method so that it returns the value that is suitable for your s properties to set the order of the `DiscoveryClient` implementations provided by Spring Cloud, among others `ConsulDiscoveryClient`, `EurekaDiscoveryClient` and `ZookeeperDiscoveryClient`. In order to do it, you just need to set the -`spring.cloud.discovery.client.{clientIdentifier}.order` property to the desired value. - -The following example shows how to set order value for Spring Cloud `DiscoveryClient` implementations: - -[source,yaml,indent=0] ----- -spring: - cloud: - discovery: - client: - eureka: 1 ----- - -The following client identifiers are currently supported with this syntax: `eureka`, `consul`, `zookeeper`, -`cloudfoundry`, `simple`. +`spring.cloud.{clientIdentifier}.discovery.order` (or `eureka.client.order` for Eureka) property to the desired value. === ServiceRegistry