You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2021/04/12 08:45:29 UTC

[GitHub] [dubbo-go] MedusaLeee opened a new issue #1150: 可以同时开启多协议支持吗?

MedusaLeee opened a new issue #1150:
URL: https://github.com/apache/dubbo-go/issues/1150


   <!-- Please only use this template for submitting enhancement requests -->
   
   **What would you like to be added**:
   Dubbo 允许配置多协议,在不同服务上支持不同协议或者同一服务上同时支持多种协议
       1.不同服务不同协议
           不同服务在性能上适用不同协议进行传输 比如大数据用短连接协议 小数据大并发用长连接协议
           <!-- 多协议配置 -->
           <dubbo:protocol name="dubbo" port="20880" />
           <dubbo:protocol name="rmi" port="1099" />
           <!-- 使用dubbo协议暴露服务 -->
           <dubbo:service interface="com.alibaba.hello.api.HelloService" version="1.0.0" ref="helloService" protocol="dubbo" />
           <!-- 使用rmi协议暴露服务 -->
           <dubbo:service interface="com.alibaba.hello.api.DemoService" version="1.0.0" ref="demoService" protocol="rmi" /> 
       2.多协议暴露服务
           需要与 http 客户端互操作
           <dubbo:protocol name="dubbo" port="20880" />
           <dubbo:protocol name="hessian" port="8080" />
           <!-- 使用多个协议暴露服务 -->
           <dubbo:service id="helloService" interface="com.alibaba.hello.api.HelloService" version="1.0.0" protocol="dubbo,hessian" />
   
   **Why is this needed**:
   
   java中支持,dubbo-go中没有看到文档或者demo


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-go] AlexStocks closed issue #1150: 可以同时开启多协议支持吗?

Posted by GitBox <gi...@apache.org>.
AlexStocks closed issue #1150:
URL: https://github.com/apache/dubbo-go/issues/1150


   


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org