Trouble implementing fallback to different service #1973
-
I'm trying to follow the guidance in the fallback documentation, specifically under the anti-pattern "Using retry for fallback". The code for using a Fallback strategy doesn't work as written because it lacks a We are rolling out a new API that replaces an old one. I'd like to use the old one as a fallback to reduce the impact of our rollout. I can't seem to find an implementation of Here is a highly simplified example:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Oops, that's my bad. Let me file a PR today to fix that sample first. After that I will take a look at your other problem. |
Beta Was this translation helpful? Give feedback.
-
It works in the other way around:
So, you can access the result of the |
Beta Was this translation helpful? Give feedback.
Oops, that's my bad. Let me file a PR today to fix that sample first.
After that I will take a look at your other problem.