2021-10-12 架构►rpc►gRPC grpc python3 安装 1$ pip3 install grpcio 示例 12345import grpcchannel = grpc.insecure_channel('localhost:8000')grpc.channel_ready_future(self.channel).result(10) # 等待 channel ready, 超时 10sstub = EchoServiceGRPC.EchoServiceStub(self.channel) # 创建 stubstub.ping('pong') # 远程调用 Newer kafka configuration Older bitmap