Configuration similar to permittedNumberOfCallsInHalfOpenState in resilience4j
See original GitHub issueAs per my understanding, opossum makes the circuit to CLOSE
state from the HALF_OPEN
on the first success fire. But in the resilience4j implementation for java (https://resilience4j.readme.io/) has some options to configure the number of tries in the HALF_OPEN
state. That option is permittedNumberOfCallsInHalfOpenState
. So it will try that amount of calls first and evaluate the error percentage before closing the circuit again.
Is there any similar configuration here in the Opossum that I have missed? or can anyone please give me an example to implement such a requirement?
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:5 (5 by maintainers)
Top Results From Across the Web
a question about permittedNumberofCallsInHalfOpenstate
I known CircuitBreaker state change. In this case, slidingWindowSize is 500, permittedNumberOfCallsInHalfOpenState is 10. when backend server ...
Read more >Getting Started - resilience4j
Setup and usage in Spring Boot 3 is demonstrated in a demo. Configuration. You can configure your CircuitBreaker, Retry, RateLimiter, Bulkhead, Thread pool ......
Read more >Configuring Resilience4J Circuit Breakers - Spring
To provide a default configuration for all of your circuit breakers create a Customizer bean that is passed a Resilience4JCircuitBreakerFactory or ...
Read more >Resilience4j Configuration - Apache Camel
Contents ; permittedNumberOfCallsInHalfOpenState. Configures the number of permitted calls when the CircuitBreaker is half open. The size must be greater than 0.
Read more >Implementing a Circuit Breaker with Resilience4j - Reflectoring
We can use the Decorators utility class for setting this up. Decorators is a builder from the resilience4j-all module with methods like ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
The only thing that is close is the
options.resetTimeout
, which is the time in milliseconds to wait before setting the breaker tohalfOpen
state, and trying the action again.but i don’t think that takes care of that use case.
This issue is stale because it has been open 30 days with no activity.