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

同时支持spring-cloud的rest调用和dubbo调用的建议 #8

Open
techzealot opened this issue Dec 27, 2018 · 1 comment
Open

同时支持spring-cloud的rest调用和dubbo调用的建议 #8

techzealot opened this issue Dec 27, 2018 · 1 comment

Comments

@techzealot
Copy link

techzealot commented Dec 27, 2018

Autowired注解用于注入spring cloud feignClient,Reference注解用于注入Dubbo
,无需替换默认的FeignClient实现,Autowired容易歧义,搞不清注入的具体实现,而且也没有必要,
这样不论消费者还是生产者,两种协议可以并存,也不用自己去定义Feign的适配了

@halower
Copy link

halower commented Jan 11, 2019

我觉得一个开放的接口应该同时承载restful和rpc的能力

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