You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by GitBox <gi...@apache.org> on 2021/10/20 10:56:50 UTC

[GitHub] [incubator-brpc] TuJianwei opened a new issue #1584: 请问下java客户端如何通过brpc调用c++端的服务,通过protobuf文件

TuJianwei opened a new issue #1584:
URL: https://github.com/apache/incubator-brpc/issues/1584


   `syntax="proto3";
   package example;
   
   option cc_generic_services = true;
   
   message EchoRequest {
         string message = 1;
   };
   
   message EchoResponse {
         string message = 1;
   };
   
   service EchoService {
         rpc Echo(EchoRequest) returns (EchoResponse);
   };`
   如果服务端通过C++实现,然后将服务注册到zookeeper上,如何通过java客户端进行调用


-- 
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: dev-unsubscribe@brpc.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org


[GitHub] [incubator-brpc] TuJianwei edited a comment on issue #1584: 请问下java客户端如何通过brpc调用c++端的服务,通过protobuf文件

Posted by GitBox <gi...@apache.org>.
TuJianwei edited a comment on issue #1584:
URL: https://github.com/apache/incubator-brpc/issues/1584#issuecomment-947788264


   刚尝试使用grpc-client调用brpc c++服务报这个错
   ![image](https://user-images.githubusercontent.com/20569448/138124942-bcd7f64a-ff06-4542-b4d5-82c3971fa2c0.png)
   


-- 
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: dev-unsubscribe@brpc.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org


[GitHub] [incubator-brpc] TuJianwei commented on issue #1584: 请问下java客户端如何通过brpc调用c++端的服务,通过protobuf文件

Posted by GitBox <gi...@apache.org>.
TuJianwei commented on issue #1584:
URL: https://github.com/apache/incubator-brpc/issues/1584#issuecomment-947788264


   ![image](https://user-images.githubusercontent.com/20569448/138124624-60f1ee81-dbd0-4063-9c14-fda4ec0b3e57.png)
   刚尝试使用grpc-client调用brpc c++服务报这个错


-- 
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: dev-unsubscribe@brpc.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org