Skip to content

Commit ae2bba4

Browse files
committed
Adjust doc to order property changes.
1 parent 66a959b commit ae2bba4

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

docs/src/main/asciidoc/spring-cloud-commons.adoc

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -262,21 +262,7 @@ the `getOrder()` method so that it returns the value that is suitable for your s
262262
properties to set the order of the `DiscoveryClient`
263263
implementations provided by Spring Cloud, among others `ConsulDiscoveryClient`, `EurekaDiscoveryClient` and
264264
`ZookeeperDiscoveryClient`. In order to do it, you just need to set the
265-
`spring.cloud.discovery.client.{clientIdentifier}.order` property to the desired value.
266-
267-
The following example shows how to set order value for Spring Cloud `DiscoveryClient` implementations:
268-
269-
[source,yaml,indent=0]
270-
----
271-
spring:
272-
cloud:
273-
discovery:
274-
client:
275-
eureka: 1
276-
----
277-
278-
The following client identifiers are currently supported with this syntax: `eureka`, `consul`, `zookeeper`,
279-
`cloudfoundry`, `simple`.
265+
`spring.cloud.{clientIdentifier}.discovery.order` (or `eureka.client.order` for Eureka) property to the desired value.
280266

281267
=== ServiceRegistry
282268

0 commit comments

Comments
 (0)