diff --git a/reference/html/index.html b/reference/html/index.html index ce595f9c..5ecf0b04 100644 --- a/reference/html/index.html +++ b/reference/html/index.html @@ -117,6 +117,7 @@ $(addBlockSwitches);
  • 2.2. ServiceRegistry @@ -673,6 +674,21 @@ implementations provided by Spring Cloud, among others ConsulDiscoveryCli spring.cloud.{clientIdentifier}.discovery.order (or eureka.client.order for Eureka) property to the desired value.

    +
    +

    2.1.3. SimpleDiscoveryClient

    +
    +

    If there is no Service-Registry-backed DiscoveryClient in the classpath, SimpleDiscoveryClient +instance, that uses properties to get information on service and instances, will be used.

    +
    +
    +

    The information about the available instances should be passed to via properties in the following format: +spring.cloud.discovery.client.simple.instances.service1[0].uri=http://s11:8080, where +spring.cloud.discovery.client.simple.instances is the common prefix, then service1 stands +for the ID of the service in question, while [0] indicates the index number of the instance +(as visible in the example, indexes start with 0), and then the value of uri is +the actual URI under which the instance is available.

    +
    +

    2.2. ServiceRegistry

    diff --git a/reference/html/spring-cloud-commons.html b/reference/html/spring-cloud-commons.html index ce595f9c..5ecf0b04 100644 --- a/reference/html/spring-cloud-commons.html +++ b/reference/html/spring-cloud-commons.html @@ -117,6 +117,7 @@ $(addBlockSwitches);
  • 2.2. ServiceRegistry @@ -673,6 +674,21 @@ implementations provided by Spring Cloud, among others ConsulDiscoveryCli spring.cloud.{clientIdentifier}.discovery.order (or eureka.client.order for Eureka) property to the desired value.

    +
    +

    2.1.3. SimpleDiscoveryClient

    +
    +

    If there is no Service-Registry-backed DiscoveryClient in the classpath, SimpleDiscoveryClient +instance, that uses properties to get information on service and instances, will be used.

    +
    +
    +

    The information about the available instances should be passed to via properties in the following format: +spring.cloud.discovery.client.simple.instances.service1[0].uri=http://s11:8080, where +spring.cloud.discovery.client.simple.instances is the common prefix, then service1 stands +for the ID of the service in question, while [0] indicates the index number of the instance +(as visible in the example, indexes start with 0), and then the value of uri is +the actual URI under which the instance is available.

    +
    +