Describe the bug
If Spring Cloud Circuitbreaker is used and feign client is created via annotation FeignCircuitBreakerTargeter doesn't call target method of FeignCircuitBreaker when no fallback is defined.
Sample
@FeignClient(name = "Restadapter", url = "rest-endpoint", configuration = FeignClientConfiguration.class)
Comment From: OlgaMaciaszek
@sleicht could you please provide a minimal, complete, verifiable example that reproduces the issue, including steps to reproduce, what you expect to happen and what is happening instead?
Comment From: sleicht
@OlgaMaciaszek Sure. This test should be green: https://github.com/sleicht/FeignCircuitBreakerTest/blob/master/src/test/java/com/example/openfeign/FeignClientServiceTest.java
As it is the FeignCircuitBreakerInvocationHandler will not get invoked but it should if I'm not mistaken.
Comment From: OlgaMaciaszek
@sleicht In fact, that should work. Will provide a fix today.
Comment From: sleicht
Thank you for the quick fix.