Skip to content

Fallback to the YARP hosted endpoints #2279

Answered by MihaZupan
mtamrakar asked this question in General
Discussion options

You must be logged in to vote

You should only define routes that you do want to proxy in the YARP config.
By using a lower priority (higher number) for those YARP routes, routing will prefer your local controllers if they exist.

In your case, you should be able to simply remove the cluster1 definition, and let routing pick cluster2 only if that route does not have an implementation in the same project yet.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@mtamrakar
Comment options

@cosmoKenney
Comment options

@MihaZupan
Comment options

Answer selected by karelz
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants