Yi Zheng
Yi Zheng
as title said...
Is there some way to upgrade automatically?
简化场景:某服务提供一个ping接口,在response的data字段中返回自己的名字。 EchoService.java ``` package com.test; import com.baidu.brpc.protocol.BrpcMeta; import com.test.proto.PingRequest; import com.test.proto.PingResponse; public interface EchoService { @BrpcMeta(serviceName = "testproto.EchoService", methodName = "Ping") PingResponse ping(PingRequest request); } ``` EchoServiceImpl.java ``` package com.test;...
请问BrpcSingleChannel中 ``` public Channel getChannel() throws Exception, NoSuchElementException, IllegalStateException { if (isNonActive(channel)) { synchronized (this) { if (isNonActive(channel)) { channel = createChannel(serviceInstance.getIp(), serviceInstance.getPort()); } } } return channel; } ```...
Excuse me please. where can I download the corpus the example mentioned?