Circuit breaker is a design pattern in modern software development. Circuit breaker is used to detect failures and encapsulates logic of preventing a failure to reoccur constantly (during maintenance, temporary external system failure or unexpected system difficulties).
Questions tagged [circuit-breaker]
385 questions
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…

Jim.R
- 743
- 1
- 5
- 11
0
votes
1 answer
How to get status for circuit breaker status with netflix hystrix?
This is my AppService Class, where I need to add logic for getting the status for the circuit breaker if it's open or closed but I am unable to find a way. Also, i have made use of ignoreExceptions but seems like trouble is there. Just new to coding…

Shalini Pandit
- 1
- 3
0
votes
0 answers
Want to create a circuit breaker using vert.x for rabbit MQ
I want to implement circuit breaker using vert.x for rabbit mq. if rabbit mq is down then circuit is open based on the configuration.
I did separate POC for vert.x circuit breaker and also able to connect with Rabbit MQ client . using vert.x .
Now,…

Nilay Tiwari
- 492
- 5
- 16
0
votes
2 answers
Circuit Breaker for AWS Lambda
Is it possible to wrap a HTTP request in the lambda handler with a Circuit-Breaker Library like gobreaker, I'm trying something like the below but not seeing the count go over 1. Maybe it's not possible with AWS lambda? I've tested both locally with…

M_K
- 3,247
- 6
- 30
- 47
0
votes
1 answer
How to completely stop the circuit breaker in Vertx
I am working on an application that is using the Vertx. In it, I have a NetClient and uses the Vertx Circuit Breaker for a continuously stay connected to a server. I now am working on something that requires these Verticles to be undeployed at some…

hybrid
- 3
- 1
- 2
0
votes
1 answer
How to create circuit breaker instances on the fly?
We communicate with a third-party server that eventually forwards our request to the respective servers (taking the serverName as a parameter). The available servers are stored in our service.
We want the circuit breaker pattern to be applied to…

Saif
- 2,530
- 3
- 27
- 45
0
votes
1 answer
Hystrix Circuit breaker not opening the circuit
I am implementing Circuit breaker using Hystrix in my Spring boot application, my code is something like below:
@service
public class MyServiceHandler {
@HystrixCommand(fallbackMethod="fallback")
public String callService() {
//…

Jagan
- 3
- 3
0
votes
1 answer
Spring Retry Circuit breaker opening for all exceptions
I was trying to use Spring Retry Circuit Breaker. My requirement is to open the Circuit only for repetitive exceptions of a specific type. And for all other exceptions, I would like to pass the exception back to the caller without opening the…

Jagan
- 3
- 3
0
votes
0 answers
Circuit breaker policy with Polly
I am trying to implement a circuit breaker with Polly. One of the dependent services I have becomes unavailable during a certain time period and becomes available after a short window. This is a multi-tenant service and the unavailability is at…

tj_abe
- 25
- 3
0
votes
1 answer
Istio Circuit Breaker who trips it?
I am currently doing research on the service mesh Istio in version 1.6. The data plane (Envoy proxies) are configured by the controle plane.
When I configure a Circuit Breaker by creating a Destination rule and the circuit breaker opens, does the…

nikos
- 115
- 7
0
votes
1 answer
CircuitBreaker Not Changing State from HALF_OPEN to CLOSED
I have this circuit breaker configuration in my spring-boot reactive application -
CircuitBreakerConfig.custom().failureRateThreshold(5)
.slowCallDurationThreshold(Duration.ofMillis(5000))
…

bivrantoshakil
- 421
- 1
- 5
- 10
0
votes
2 answers
Spring Integration Flow : Circuit breaker for each endpoints or at flow level
I have successfully implemented some spring Integration Flow.
I am looking to have a circuit breaker either the same one for each endpoints or either at the flow level.
I have already read this documentation…

ggr
- 294
- 1
- 9
0
votes
1 answer
Resilience4j.retry with exception is not working
I am using resilience4j.retry with resilience4j.circuitbreaker. Service1 is calling another service Service2, which can throw exceptions. Even if I get exceptions, I should try to connect for at least defined no of times waitDuration *…

roottraveller
- 7,942
- 7
- 60
- 65
0
votes
1 answer
How can I store the Circuit Breaker state into the database?
I have to implement the circuit breaker into my application. Everthing goes fine, the circuit breaker is working but I need to store its state into the database. How can I do that? I couldn t find anything reliable on the web.
Here is the code that…

Tanase Andrei
- 11
- 4
0
votes
0 answers
Spring cloud circuitbreaker: Create circuit breaker method creates a new Circuit breaker instead of returning existing one
Spring's version of Resilience4JCircuitBreaker is a wrapper over io.github.resilience4j.circuitbreaker.CircuitBreaker and also keeps an instance of the Circuitbreaker registry. I was hoping to use an already existing CircuitBreaker instance if it…

ab m
- 422
- 3
- 17