Skip to main content
Filter by
Sorted by
Tagged with
-1 votes
0 answers
11 views

Seeking solutions to electric problem of flickering lights and no power to 2nd floor [closed]

After living in the house for 1.5 years, the lights on the second floor suddenly went wild. There was no power surge or thunder that we noticed. The first electrician's notes are as follows, but my ...
RBStephen's user avatar
0 votes
0 answers
17 views

Why does Spring Security return 403 instead of 500 when the UserService is not running?

Spring Security Returns 403 Instead of 500 When Service is Down I'm configuring error handling in Spring Boot with Resilience4j. My /auth/login endpoint should be accessible without authentication (...
Renan Aquino's user avatar
2 votes
0 answers
58 views

Fallback method in Spring Boot app not getting called when using Resilience4j

I have a simple microservices based app. It has 3 microservices. Movie-Catalog-Service, Ratings-Data-Service, Movie-Info-Service. Movie-Catalog-Service is dependent on Ratings-Data-Service and Movie-...
Shri's user avatar
  • 161
0 votes
0 answers
32 views

Resilience4j & Spring Boot 3 - Retry works but Circuit Breaker doesn't

I'd like to use Resilience4j's Circuit Breaker with Retry, Retry works but Circuit Breaker doesn't unfortunately. public Object execute(Function<String, Object> func, String param) throws ...
Viktor's user avatar
  • 1,497
0 votes
0 answers
53 views

How to execute an async function within failsafe Rust crate?

I am trying to use the circuit breaker pattern within my application. I chose to use the failsafe Rust crate. However, I do not understand how to execute an async function. I could not find any ...
Gaurav Joseph's user avatar
2 votes
1 answer
251 views

The resilience4j circuitbreaker does not seems to work expected after the Spring Boot & Cloud dependencies upgrade

We are seeing an issue with resilience4j circuit breaker after a recent upgrade of Spring Boot & Cloud dependencies. We upgraded the following below: groupId artifactId old version upgraded ...
Subhash 's user avatar
0 votes
1 answer
51 views

How do I get a spring cloud GatewayFilter to trigger a fallback route with a CircuitBreaker?

I have an oauth2 token fetching gateway filter that I need to wire a circuit breaker in. If I can't connect to the provider or authentication fails, I need to use the fallback route. My filter is ...
jlfeld1's user avatar
1 vote
0 answers
49 views

Resilience4j Circuit breaker not working as expected

Im facing an issue with the Resilience4J circuit breaker implementation. I have written the following test case to test the functionality of the circuit breaker implementation with resilience4j-spring-...
Lasal Hettiarachchi's user avatar
0 votes
0 answers
40 views

CircuitBreaker and Retryable on JPA Repository Save function

I would like to introduce Retry and CircuitBreaker mechanism from the database calls. For which I am using SpringRetry and Resilience4j libraries. I have added a code like this and the retry and ...
Praveen Kumar's user avatar
2 votes
1 answer
71 views

Do Named HTTP clients use the same policy handlers instances?

Do HTTP policies instances are shared when I create named HTTP client in each request using IHttpClientFactory? I am using the IHttpClientFactory to create a named-http-client per request: var ...
Omer's user avatar
  • 83
1 vote
1 answer
115 views

Identifying which Polly circuit breaker tripped in the OnOpened callback

I have several named HttpClients in my C# application. I am binding Polly policies (namely the circuit breaker) to each of them. I need to capture which HttpClient tripped the circuit in the OnOpened ...
Lane Goolsby's user avatar
0 votes
0 answers
57 views

best way to use circuitbreaker in kafka listener

I have a spring boot application written in java which has a kafka listener: @KafkaListener( autoStartup = "false", topics = "topic name", ...
christopher.online's user avatar
0 votes
0 answers
40 views

Spring Cloud Gateway - how to handle circuit breaking when I have mulitple instances for a distributed app

My Spring Cloud Gateway acts as a Gateway and has a Circuit Breaker, Time Out Limiter, Retry Mechanism and Rate Limiter Now if I spin up different instances of the SCG (for a distributed app), would ...
Sachin's user avatar
  • 545
-1 votes
1 answer
113 views

Polly Http Circuit Breaker Break only on Timeout Exception

We have a vendor that goes down a lot. We no longer want the circuit to break when they pass us back 500 errors, etc.. We just want the circuit to break when there is a Timeout Exception. IAsyncPolicy&...
Gabriel Whitehair's user avatar
0 votes
1 answer
40 views

Is there any way to prevent from falling down application if there is no rabbit queues or even rabbit server is not working?

My question is related to rabbitTemplate, how to make an application as fault tolerance, so if even rabbit server is not working it would be launched successfully? Case: There is project that has ...
Дамир Эсенов's user avatar

15 30 50 per page
1
2 3 4 5
28