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

Implement condition routing #2284

Closed
FinalT opened this issue Mar 29, 2023 · 6 comments
Closed

Implement condition routing #2284

FinalT opened this issue Mar 29, 2023 · 6 comments

Comments

@FinalT
Copy link
Member

FinalT commented Mar 29, 2023

实现dubbo-go流量管控中的条件路由,对路由集的匹配过滤能力与官网描述一致

对于匹配/过滤条件,具备参数支持,条件支持,值支持,并且对通用逻辑做了抽象,只需实现对应的接口(pattern_value.ValuePattern)或者继承相关的父类(matcher.BaseConditionMatcher),再利用dubbo-go中的extension机制,能够实现自定义扩展

@FinalT
Copy link
Member Author

FinalT commented Mar 29, 2023

#2276

@justxuewei
Copy link
Member

This is a new feature of the Dubbo-go. Please give an example and add it into dubbo-go-samples.

Ref: https://cn.dubbo.apache.org/zh-cn/overview/core-features/traffic/condition-rule/

@FinalT
Copy link
Member Author

FinalT commented Apr 1, 2023

@justxuewei
Copy link
Member

justxuewei commented Apr 3, 2023

apache/dubbo-go-samples#551

Ok, I'll take a look. It is a very huge patch, so it might take longer.

@chickenlj
Copy link
Contributor

Please notice that this is part of the effort to provide complete traffic management support instructed by the Dubbo official website.

https://cn.dubbo.apache.org/zh-cn/overview/core-features/traffic/

@FinalT
Copy link
Member Author

FinalT commented Apr 11, 2023

To make this pr easier to read, this pr will be split multiple times
The new pr is #2299 and #2303

@FinalT FinalT closed this as completed Feb 2, 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

3 participants