I'm configuring a sample application using this example: http://projects.spring.io/spring-cloud/spring-cloud.html#spring-cloud-feign-inheritance. In this section http://projects.spring.io/spring-cloud/spring-cloud.html#spring-cloud-ribbon it is said that:
Feign already uses Ribbon, so if you are using @FeignClient then this section also applies
Does that mean that @FeignClient uses Hystrix too? Does the call to feign client execute inside hystrix command? if so, what is the proper way to pass hystrix configuration?
There are samples that wrap calls to feign client with @HystrixCommand. Is it a correct way?
There is an open ticket to support hystrix with feign. Currently, you need to wrap calls to feign clients with hystrix.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With