See issue https://github.com/spring-cloud/spring-cloud-commons/issues/509.

Apparently, for RestTemplates it is possible to intercept Ribbon load balancing requests using a LoadBalancerRequestTransformer. The same mechanism is missing for FeignClient.

There is only one way I am aware of that allows one to intercept load balancing requests and that is described here. However, that approach does not allow developers access to the Server instance selected by Ribbon (nor the server instance information provided by Eureka).

This makes a use case like https://github.com/spring-cloud/spring-cloud-commons/issues/162 extremely difficult, if not impossible when using FeignClients.

Comment From: OlgaMaciaszek

Closing as issue related to Ribbon, which is no longer supported.