failsafe icon indicating copy to clipboard operation
failsafe copied to clipboard

Fault tolerance and resilience patterns for the JVM

Results 75 failsafe issues
Sort by recently updated
recently updated
newest added

I'd like to consider what the right behavior should be when an `Error` is thrown inside an event listener. Some event listeners happen in the middle of execution, such as...

community feedback wanted

That way a `FailsafeException` will contain all information about all attempts. See: https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html#addSuppressed(java.lang.Throwable)

enhancement

See https://github.com/jhalterman/failsafe/issues/145#issuecomment-456217684 One of the challenges I am recalling from sync CompletionStage execution is how to implement sync retries without spawning another thread or potentially blowing up a call stack,...

community feedback wanted

For result listeners that are improperly typed, ClassCastExceptions may occur. It might be nice to report these out somehow, such as via a logging extension.

Ex: ``` onFailedAttempt(ConnectException.class, e -> log.error("Failed to connect", e)); ``` Failure instances of `ConnectException` will trigger the listeners, else the listener is not triggered. Currently users can do: ``` onFailedAttempt(e...

enhancement

We are big fan of FailSafe! First of all thank you guys for supporting this awesome framework. It helps us a lot. Sometimes a given service (mostly Orchestration Service) needs...

enhancement

As Failsafe already supports policies that are useful for networked operations, it would make sense to support phi accrural (or other accural algorithms) failure detection for situations where fixed timeouts...

enhancement
new-policy

I configure a CircuitBreaker with a delay. I expect to transition from OPEN to HALFOPEN after delay-time given that nothing gets recorded. It does not happen. Code to observe this...

https://failsafe.dev/policies/#composition-recommendations Recommends circuit breaker inside retry rather than outside retry. I'd love to see more elaboration as to why? I would think the reverse would be better, however Failsafe is...

question

Using FailSafe is a useful solution. In some cases, we'd like to keep the option to adapt / change the policy or its parameters (e.g. number of retries, timeouts) on...