0

For an application that has multiple feign clients connecting all to the same external component we want one shared circuit breaker.

How can this be achieved with spring-cloud-starter-openfeign? overview

Detailed explanation:

When the providing service is down all 3 clients should stop sending. As all requests should fail. Is it possible that all 3 clients share the same circuitbreaker?

Jeff
  • 1,871
  • 1
  • 17
  • 28

1 Answers1

0

I think you can create FeignClient(not circuit breaker) for providing service(feign in this service).Consuming service inject ‘providing service's FeignClient’, this client can request providing service.

guides spring-cloud-feign and circuit-breaker

ilovealt
  • 1
  • 1