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 2022/01/22 04:15:43 UTC

[GitHub] [dubbo-samples] gakkiyomi opened a new issue #416: 如何修改bubbo服务的服务名

gakkiyomi opened a new issue #416:
URL: https://github.com/apache/dubbo-samples/issues/416


   ![image](https://user-images.githubusercontent.com/41406557/150624244-6de701db-1150-4caf-9e2e-6165f8d3b849.png)
   
   使用java注册dubbo服务  
   服务名为:providers:org.apache.dubbo.DubboGreeterGrpc___IGreeter::  如何修改这里?
   interface: org.apache.dubbo.DubboGreeterGrpc$IGreeter  //这里$如果不改成___ go调用就会报错,改成一致则不会。但这里是一个内部接口,我不会去修改它。
   
   使用go调用此服务配置如下:
   dubbo:
     registries:
       demoZK:
         protocol: nacos
         timeout: 3s
         address: 192.168.1.222:8848
     consumer:
       references:
         GreeterClientImpl:
           protocol: grpc
           interface: org.apache.dubbo.DubboGreeterGrpc___IGreeter
     logger:
       zap-config:
         level: info
   


-- 
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: notifications-unsubscribe@dubbo.apache.org

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