Browse Source

FIX gh-601

pull/612/head
Can Bezmen 3 years ago committed by Olga MaciaszekSharma
parent
commit
ae33802a4b
  1. 4
      docs/src/main/asciidoc/spring-cloud-openfeign.adoc

4
docs/src/main/asciidoc/spring-cloud-openfeign.adoc

@ -66,12 +66,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 for the "stores" service. If your application is a Eureka client then
it will resolve the service in the Eureka service registry. If you 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 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]. 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: 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: or list them explicitly:
`@EnableFeignClients(clients = InventoryServiceFeignClient.class)` `@EnableFeignClients(clients = InventoryServiceFeignClient.class)`

Loading…
Cancel
Save