Questions tagged [spring-cloud-circuitbreaker]

20 questions
0
votes
1 answer

Spring Boot Resilience4j circuit breaker and fall back not implementing

I have a simple rest api with Resilience4j implementation but for some reason the circuit breaker or fallback implementation is not working. I am not sure If I am using right dependency. I have a simple member-info-api which consume another api…
0
votes
3 answers

Resiliency4j CircuitBreaker tried to call circuitBreaker logic in AOP in order to achieve not to call circuit breaker when it is disabled in config

Conditionally I want to switch the circuit breaker switch off/on by setting spring.cloud.circuitbreaker.resilience4j.enabled=false. My logic should stay intact from circuit-breaker logic. I tried using the below demo example to extend to my…
0
votes
1 answer

Configuration in Resilience4J CircuitBreaker not working

I'm using a circuit breaker of Resilience4J and I need to ignore some custom exceptions so I need to change the default configuration. I'm working with microservices so I have a microservice connected to a database which have some basic requests…
0
votes
1 answer

Change timeout for Spring Cloud Circuit Breaker at runtime?

I'm using Spring Cloud Circuit Breaker 2.0.0 (resilience4j implementation) for circuit breaking and timeouts in my application. I've created the following configuration: @Bean public Customizer defaultCustomizer()…
0
votes
1 answer

Checking a Spring Cloud CircuitBreakers status

We're using Spring cloud circuitbreaker to handle outages when making calls to an external service. We also have a scheduled job which calls this service. I'd like to prevent the job from running if the circuitBreaker is open but I don't see any way…
1
2