Is there any sample code for using circuit breaker in grpc client? #6039
-
|
https://armeria.dev/docs/client-circuit-breaker/ Next, I would like to implement it for the grpc client, but I am wondering how to set the rules for the ref) Rules implemented in HTTP client |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
|
Hi! The |
Beta Was this translation helpful? Give feedback.
-
Actually, me too... 😓 Anyway, I would like to close this discussion as I believe this matter has been resolved. Thank you for your cooperation. 🙌 |
Beta Was this translation helpful? Give feedback.
It is difficult to submit a well hidden reproducer due to the implementation at work (although the company is related to LINE).
However, I have tried several implementation patterns, some successful and some unsuccessful, and I would like to share them.
Is this consideration likely to be correct?
Consideration (imo)
CircuitBreakerRuleWithContent, only the decision by the object set in theResponseis effective.CircuitBreakerRule, can it handle other settings as well as judging byResponse?onGrpcTrailers?onResponseTrailersis for HTTP clie…