uncarbon97 commented on issue #10551:
URL: https://github.com/apache/dubbo/issues/10551#issuecomment-1237716299

   谢谢大佬的解答,经过试验比较 `3.0.11` 与 `3.1.0` 版本后理解了这个设计
   
   `sys-service` 使用了 `spring-boot-starter-web`,启动后将自身注册到 Spring Cloud 
注册中心(我使用的是 Nacos),端口为 HTTP 端口,protocol=rest
   而 dubbo 也用 `sys-service` 的名头注册到了 Nacos 上,端口为另一个,protocol=dubbo
   
   上游从注册中心拉取后能正确处理 `protocol=dubbo`,而处理`protocol=rest`则会抛出异常(未引入相应支持扩展)
   
   (这里留一个疑问,是否引入 rest 扩展后,dubbo 可以做到类似 Feign 的 HTTP RPC,而非 dubbo 主打的 
`dubbo/triple` 协议二进制 RPC?)
   
   
   如果没有其他需要订正和为后来者补充的话,烦请关闭该issue。


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to