diff --git a/docs/src/main/asciidoc/spring-cloud-openfeign.adoc b/docs/src/main/asciidoc/spring-cloud-openfeign.adoc index 95c69c18..38a180af 100644 --- a/docs/src/main/asciidoc/spring-cloud-openfeign.adoc +++ b/docs/src/main/asciidoc/spring-cloud-openfeign.adoc @@ -69,12 +69,12 @@ The load-balancer client above will want to discover the physical addresses for the "stores" service. If your application is a Eureka client then it will resolve the service in the Eureka service registry. If you don't want to use Eureka, you can configure a list of servers -in your external configuration using https://cloud.spring.io/spring-cloud-static/spring-cloud-commons/current/reference/html/#simplediscoveryclient[`SimpleDiscoveryClient`]. +in your external configuration using https://docs.spring.io/spring-cloud-commons/docs/current/reference/html/#simplediscoveryclient[`SimpleDiscoveryClient`]. Spring Cloud OpenFeign supports all the features available for the blocking mode of Spring Cloud LoadBalancer. You can read more about them in the https://docs.spring.io/spring-cloud-commons/docs/current/reference/html/#spring-cloud-loadbalancer[project documentation]. TIP: To use `@EnableFeignClients` annotation on `@Configuration`-annotated-classes, make sure to specify where the clients are located, for example: -`@EnableFeignClients(basePackages = "com.example.clients")` +`@EnableFeignClients(basePackages = "com.example.clients")` or list them explicitly: `@EnableFeignClients(clients = InventoryServiceFeignClient.class)` diff --git a/pom.xml b/pom.xml index 38899ff8..fe98f447 100644 --- a/pom.xml +++ b/pom.xml @@ -27,7 +27,6 @@ ${basedir} 2.11.3 3.1.0-SNAPSHOT - 2.10