Scout Wang

Results 44 comments of Scout Wang

Refer to (https://github.com/grpc/grpc-go/blob/master/Documentation/grpc-metadata.md) for more information.

### Analyzing For cli-side, dubbo-go make use of Hessian2 to encode int8. After encoding, int8 becomes int32. Refer https://github.com/apache/dubbo-go-hessian2/blob/f0fbe40e207cc5ba0cb76b1dcc0c8db2aee877bf/encode.go#L112 ```go case int8: e.buffer = encInt32(e.buffer, int32(val)) ``` For srv-side, dubbo-go...

Consumer: ```java public class TestLongReq implements Serializable { private Long total; public Long getTotal() { return total; } public void setTotal(Long total) { this.total = total; } } public class...

@BaiZe1998 The previous student's implementation has merit, but still needs more complete details. We can discuss it together.

I'd like to take this issue :)

@slowargo 已支持,可以使用 develop 分支尝鲜。使用 WithExitWaitTime 配置即可,推荐值为流的持续时间上界。 例如,你们的流都能在 10 分钟内结束,那么可配 WithExitWaitTime(10 * time.Minute)。 对于超过这个时间的流,将会被中断,并拿到 code = 14, graceful shutdown 的错误提示。

@slowargo 感谢反馈! 请问你们当前的使用场景与交互模式(e.g. Unary, ServerStreaming...)是什么,client 主动使用短连接么?