Johan Mereaux
Johan Mereaux
Any news on this? Is there a way to override in the query filter the default scope defined on a model ?
Hi. Same problem on my side. Any news on this?
Hi RobWin. Sure, let me try to give some more details. I'm using the `resilience4j-spring-boot2` maven artifact I annotate the method on which I want to put the CircuitBreaker as...
Sure, here it is ``` @Configuration @Slf4j public class CircuitBreakerConfig { @Bean public RegistryEventConsumer circuitBreakerEventConsumer() { return new RegistryEventConsumer() { @Override public void onEntryAddedEvent(EntryAddedEvent entryAddedEvent) { entryAddedEvent.getAddedEntry().getEventPublisher() .onFailureRateExceeded(event -> log.error("Circuit...
Oh, you're right ! I had not realized I did have multiple instances of the circuit breaker. My app is running on Kubernetes and is spread on 3 pods. So...
Is there any way to conditionally activate the `@CircuitBreaker` annotation on my `debitCard` method ?
That sounds like a really good idea, thanks. Do you think this trick would also ignore slow requests that also trigger the opening of the circuit ? Indeed for my...
Thanks @RobWin. I will try that
@RobWin Would you have any sample explaining how to implement the ignoreExceptionPredicate please ? I could not find anything in the doc. Thanks
Hi @RobWin I've come up to the following implementation : ``` public class CircuitBreakerIgnoreExceptionPredicate implements Predicate { private static final String MS3_CIRCUITBREAKER_ENABLED_ENV_VAR_NAME = "MS3_CIRCUITBREAKER_ENABLED"; @Override public boolean test(Exception e) {...