Does Spring make a call to Cloud Feign inside the hystrix command?

I am setting up an example application using this example: http://projects.spring.io/spring-cloud/spring-cloud.html#spring-cloud-feign-inheritance . This section of http://projects.spring.io/spring-cloud/spring-cloud.html#spring-cloud-ribbon says that:

Feign already uses feed, so if you use @FeignClient then this section also applies

Does this mean that @FeignClient also uses Hystrix? Does the fake client call execute inside the hystrix command? if so, what is the correct way to transfer the hysteresis configuration?

There are examples that wrap calls for creating a click using @HystrixCommand. Is it correct?

+4
source share
2 answers

There is an open ticket to support hystrix with pretense. Currently, you need to wrap calls to pretend to be clients using hystrix.

+1
source

please use semaphore isolation:

hystrix:
  command:
    default:
      execution:
        isolation:
          strategy: SEMAPHORE
-1
source

Source: https://habr.com/ru/post/1606603/


All Articles