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

dubbo路由自动化,不要在操作CRD配置文件 #237

Open
ChenYe-a opened this issue Jul 4, 2023 · 3 comments
Open

dubbo路由自动化,不要在操作CRD配置文件 #237

ChenYe-a opened this issue Jul 4, 2023 · 3 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed level/challenge

Comments

@ChenYe-a
Copy link

ChenYe-a commented Jul 4, 2023

理想化的流程是在服务列表里添加nacos后,配置对应的dubbo服务路由,这这个路由配置完成之后,便已经可以使用配置的路由访问dubbo服务

@johnlanni johnlanni added good first issue Good for newcomers help wanted Extra attention is needed level/challenge labels Jul 20, 2023
@johnlanni
Copy link
Contributor

可以通过订阅到的服务元数据信息来填充如服务版本、分组等字段,但具体 dubbo method 的参数信息如何获取呢,这块我对 dubbo 了解不多,你有建议的做法吗?

@CH3CHO
Copy link
Collaborator

CH3CHO commented Jul 24, 2023

@johnlanni
Copy link
Contributor

可能可以通过 Dubbo 的 MetadataReporting 机制实现:https://cn.dubbo.apache.org/en/docs3-v2/java-sdk/reference-manual/metadata-center/overview/#21-metadata-reported-by-provider

看上去做不到完全自动,因为method的参数只有类型,没有参数名

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed level/challenge
Projects
None yet
Development

No branches or pull requests

3 participants