question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Configuration similar to permittedNumberOfCallsInHalfOpenState in resilience4j

See original GitHub issue

As 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:open
  • Created 2 years ago
  • Reactions:1
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
lholmquistcommented, Dec 3, 2021

The only thing that is close is the options.resetTimeout, which is the time in milliseconds to wait before setting the breaker to halfOpen state, and trying the action again.

but i don’t think that takes care of that use case.

0reactions
github-actions[bot]commented, Jul 9, 2022

This issue is stale because it has been open 30 days with no activity.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found