Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

to support conditional routing with multiple destinations, customize conditional routing priorities and operation in route fail #2684

Open
YarBor opened this issue Jun 4, 2024 · 0 comments
Assignees

Comments

@YarBor
Copy link
Contributor

YarBor commented Jun 4, 2024

What would you like to be added:
Support conditional routing with multiple destinations, and customize conditional routing priorities.

Why is this needed:
To cope with more complex routing scenarios.

Now condition-rule is
image
Specifically, the matching condition of dubbo traffic(now) is only one match, and the incoming consumerURL is matched against all matching conditions, and the URLs of all callable objects and filtering conditions are matched.

in complex routing: (for example, i think what need to support in condition-routing)

all active service providers go match region=$region & env=$env first,
Match success, call them in loadbalance.
Match fail , then go match env=$env or any other ...
until get service providers i want or nothing.

Also, it is necessary to customize the behavior when a single conditional route fails to match. (match next or return null directly)

@YarBor YarBor changed the title Support conditional routing with multiple destinations, and customize conditional routing priorities. to support conditional routing with multiple destinations, customize conditional routing priorities and operation in route fail Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant