Call Another service from gRPC server

480 views
Skip to first unread message

Shubham Shetty

unread,
Apr 7, 2022, 1:08:26 AM4/7/22
to grpc.io
Hi, I'm a beginner to gRPC and wanted to know how to call another service from a server. Basically how do I define a stub within a gRPC server code in order to call another service. I am using python.

温明浩

unread,
Apr 7, 2022, 5:28:31 AM4/7/22
to grpc.io
Just create a gRPC client as noraml.

For what I know, gRPC server have no method to call another server directly, you can only do it by create a gRPC client.

shubha...@gmail.com 在 2022年4月7日 星期四下午1:08:26 [UTC+8] 的信中寫道:
Reply all
Reply to author
Forward
0 new messages