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

是否支持泛化调用 #199

Open
cye1024 opened this issue Jul 30, 2020 · 1 comment
Open

是否支持泛化调用 #199

cye1024 opened this issue Jul 30, 2020 · 1 comment

Comments

@cye1024
Copy link

cye1024 commented Jul 30, 2020

类似dubbo的,可以通过动态配置,读取到新接口信息,从而动态构建,调用到新的接口。

@rayzhang0603
Copy link
Contributor

motan-go现在有两个主要场景,mesh和client,泛化的问题应该只和client模式相关,motan的client并不限制参数类型,只要参数能与server端兼容就能进行调用;

你问题描述中的我理解是需要动态配置功能,这块后续会考虑在mesh场景支持配置动态下发、reload能力。

如果是集成测试或者mock服务等非线上系统使用的话,可以参考dynamicConfig.go的方式支持服务的动态注册与订阅。

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

2 participants