GRPC Java 1.6.1 已發布,GRPC 是一個高性能、開源、通用的 RPC 框架,面向移動和 HTTP/2 設計,是由谷歌發布的首款基於 Protocol Buffers 的 RPC 框架,GRPC Java 是 GRPC 的 Java 實現。
GRPC 基於 HTTP/2 標準設計,帶來諸如雙向流、流控、頭部壓縮、單 TCP 連接上的多復用請求等特性。這些特性使得其在行動裝置上表現更好,更省電且節省空間佔用。
主要更新內容:
Android users should no longer need -keeps in their ProGuard configuration (#2633)
gRPC is no longer using the current Thread’s 「context ClassLoader」 when searching for transport Providers (#2375). Instead it is using the current class’s ClassLoader. This should not break existing users and work out-of-the-box in a larger number of environments
Fix support for Google AppEngine Java 8 (#3296)
Log netty connection errors at FINE instead of SEVERE (#1768)
Update netty to 4.1.14 and tcnative to 2.0.5 (#3307)
Channel state API is now implemented via ManagedChannel.getState/notifyWhenStateChanged. This requires LoadBalancer support; custom LoadBalancers should be updated to call updateBalancingState() instead of updatePicker()
Referencing CallCredentials is now stable API (#3289). Implementing or consuming CallCredentials is still ExperimentalApi
New method ClientCallStreamObserver.cancel() allows clients to cancel RPCs without requiring using an interceptor or Context (#3115)
更多內容
下載地址: