gRPC-Java 1.15.1 正式釋出,gRPC 的 Java 實現
RPC/">gRPC-Java 1.15.1ofollow,noindex">釋出了 。官方建議 OkHttp 使用者進行升級,但如果沒有看到下面提到的特定錯誤,那麼應該不會受到太大影響。
Bug 修復
-
okhttp: settings acks back after apply settings before sending any data. Fixes#4809 . If you are seeing "INTERNAL: Flow control error\nRst Stream", then you were likely impacted.
-
core: DnsNameResolver now caches SRV results. Fixes#4745 . This makes it "safe" to experiment with
-Dio.grpc.internal.DnsNameResolverProvider.enable_grpclb=true
, which will become the default in the future. We encourage users to try out the option and report back issues, especially additional connecting latency, to #4898 .
詳情請檢視https://github.com/grpc/grpc-java/releases/tag/v1.15.1
gRPC 是一個高效能、開源和通用的 RPC 框架,面向移動和 HTTP/2 設計。目前提供 C、Java 和 Go 語言版本,分別是:grpc, grpc-java, grpc-go. 其中 C 版本支援 C, C++, Node.js, Python, Ruby, Objective-C, PHP 和 C#。