From e70b66c187108ab59b948b582eb9cf8dfd7ddf24 Mon Sep 17 00:00:00 2001 From: Olga Maciaszek-Sharma Date: Thu, 9 Mar 2023 16:00:10 +0100 Subject: [PATCH] Clarify example in docs. Fixes gh-805. --- docs/src/main/asciidoc/spring-cloud-openfeign.adoc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/src/main/asciidoc/spring-cloud-openfeign.adoc b/docs/src/main/asciidoc/spring-cloud-openfeign.adoc index 5a4d9944..4ab153ca 100644 --- a/docs/src/main/asciidoc/spring-cloud-openfeign.adoc +++ b/docs/src/main/asciidoc/spring-cloud-openfeign.adoc @@ -199,6 +199,8 @@ feign: queryMapEncoder: com.example.SimpleQueryMapEncoder metrics.enabled: false ---- +`feignName` in this example refers to `@FeignClient` `value`, that is also aliased with `@FeginClient` `name` and `@FeignClient` `contextId`. In a load-balanced scenario, it also corresponds to the `serviceId` of the server app that will be used to retrieve the instances. + Default configurations can be specified in the `@EnableFeignClients` attribute `defaultConfiguration` in a similar manner as described above. The difference is that this configuration will apply to _all_ feign clients.