All content is good My question is If caller method return type is object type or collection type then how we pass return message as a string .In example you take String return type in both method . server down please try after something this type of String message when request failed
@maheshsuryawanshi69013 жыл бұрын
Thank you for the valuable information. What if another microservice is up & running but due to a memory leak it's not responding or taking a long time? then how to handle such a scenario?
@GenieAshwani3 жыл бұрын
Thanks for the comment Mahesh If destination service is down by any chance or memory leak we can go for Queue implementation or we can give backup microservices to perform job until main microservice will not up and running hope you got your answer
@maheshsuryawanshi69013 жыл бұрын
@@GenieAshwani Thank you
@anirudhlok20472 жыл бұрын
Hello, qq is circuit breaker instance dependent? Or is it centralised like redis. Thanks
@garetts81563 жыл бұрын
I might have missed or you did not tell, that we also need actuator and aop dependencies. Otherwise everything else works. Nice explanations, thanks.
@GenieAshwani3 жыл бұрын
You are right garett's
@sujithpv89353 жыл бұрын
Good presentation and well explained. Do you have any sample implementation around resilliance4j reactive implementations with Web client. I have trying this.
@GenieAshwani3 жыл бұрын
No i don't have right now
@dundappayadappagol31742 жыл бұрын
hi bro , have did any mini projects on microservices. if you did please share the video link
Thank you for such a valuable content. Can you please share the application.yml properties..?
@GenieAshwani3 жыл бұрын
Please check this for source code: github.com/Ashwani056/Microservices-forYT.git
@vinodkumarreddy76963 жыл бұрын
@@GenieAshwani i don't see resilience 4j project here can u plz upload the same...
@vinodkumarreddy76963 жыл бұрын
Thanks for the video.. But when I implement the same into my project its not working.. The fall back method is not happening I am using Spring Cloud dependencies is that the issue? Can u suggest on this.. Thanks in advance
@GenieAshwani3 жыл бұрын
sorry vinod i can't say anything without looking into the code
@subhamchoudhury83632 жыл бұрын
I am facing same issue like you man
@gustiandika2 жыл бұрын
better let gateway handle circuit breaker
@syedsaqib8152 жыл бұрын
what about server side handling?
@akashjain3254 Жыл бұрын
@GetMapping("/test") @CircuitBreaker(name="normal",fallbackMethod="fallbackNormal") public String getNormal() { List li = new ArrayList(); return li.get(2); } public String fallbackNormal(Exception e) { System.out.println("exception thrown"); return "fall back called"; } fallback method is not getting called, instead exception is caught normally , please help