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.

Only can use restTemplate to call service api by using resilience4j?

See original GitHub issue

Resilience4j version: 1.7.1

Java version: 17

I’m new to use resilience4j. I write a service A and a service B. I add circuit-breaker in service B , because I will call service A api in service B. At first, I use other http library to call api, then I find resilience4j record service A error response as success call. but after I use spring restTemplate bean to call service A api, it work correctly.

Did I only use restTemplate to call service api when using resilience4j?

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Comments:16 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
rainbowechoescommented, Nov 28, 2022

thanks for your help!I learn a lot. you are a master absolutely and so kind. Thanks again!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Making your RestTemplate fault tolerant with Resilience4J
A frequent approach to HTTP in the Spring world is to use RestTemplate. Let's protect it with Resilience4J and its CircuitBreaker.
Read more >
Guide to Resilience4j With Spring Boot - Baeldung
Learn how to use the Resilience4j library with a simple Spring ... and add a bean for the RestTemplate that will help us...
Read more >
Resilience4j Session-3 Making RESTAPI fault tolerant using ...
In this tutorial we are going to learn how make spring boot based RESTAPI fault tolerant. Under certain circumstances we observe that ...
Read more >
Resilience4j Tutorial with Spring Boot | Circuit Breaker, Retry ...
In this tutorial, we will implement Resilience4j with Spring boot and different modules available for it. We will see the theory part and ......
Read more >
Rate-Limiting with Spring Boot and Resilience4j - Reflectoring
When working with Spring Boot Resilience4j, we usually only use the @RateLimiter annotation and don't deal with the RateLimiter instance itself.
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