内容简介:gRPC-Java 1.14.0 发布了,gRPC 是一个高性能、开源和通用的 RPC 框架,面向移动和 HTTP/2 设计,而 gRPC-Java 是其 Java 版本实现。1.14.0 版本将是支持 Java 6 的最后一个版本。Android API 14 级支持将保持不变更新内容如下:详情见
gRPC-Java 1.14.0 发布了,gRPC 是一个高性能、开源和通用的 RPC 框架,面向移动和 HTTP/2 设计,而 gRPC-Java 是其 Java 版本实现。1.14.0 版本将是支持 Java 6 的最后一个版本。Android API 14 级支持将保持不变
更新内容如下:
Dependencies
-
Updated to Netty 4.1.27 and Netty TCNative 2.0.12
-
gRPC is now regularly tested with JDK 9 and 10
-
Warning, a bug was discovered after this release where using Netty Epoll would increase memory usage. Please avoid this release of gRPC if you know you use Netty Epoll
API Changes
-
OkHttpChannelBuilder#negotiationTypeis now deprecated -
Made protobuf, protobuf-lite, and protobuf-nano classes final.
New Features
-
Channel Tracing now record State Changes
-
Stubs now have an
RpcMethodannotation for use with annotation processors -
Added support for providing
List<EquivalentAddressGroup>to LoadBalancer Subchannels, in addition to the option of providing aEquivalentAddressGroup(EAG). This prevents the need forLoadBalancers to "flatten" aList<EquivalentAddressGroup>into a singleEquivalentAddressGroupwhich loses/confuses the EAG'sAttributes.NameResolvers can now specifyAttributesin an EAG and expect that the values are passed to gRPC's core. Future work will addList<EAG>forOobChannels. -
InProcessSocketAddress now has a useful
toString()method -
AndroidChannelBuilder is now easier to build
-
RoundRobinLoadBalancer now scales better when using stickiness
Behavior Changes
-
gRPCLB no longer depends on having a Service Config
Bug Fixes
-
Fix regression that broke Java 9 ALPN support. This fixes the error "SunJSSE selected, but Jetty NPN/ALPN unavailable" ( #4620 )
-
Fixed a bug with gRPC LB parsing SRV DNS records ( 6dbe392 )
-
enterIdle()will exit idle mode if channel is still in use ( #4665 ) -
TransmitStatusRuntimeExceptionInterceptornow avoids accidentally double closing the call.
详情见 发布公告 。
下载地址:
以上所述就是小编给大家介绍的《gRPC-Java 1.14.0 发布,gRPC 的 Java 实现》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!
猜你喜欢:- Traefik 2.0 实现灰度发布
- Redis 实现发布订阅原理与实践
- 通过发布订阅模式实现的事件委托
- 使用 Jenkins + Nginx 实现预发布
- 利用Zookeeper实现数据发布订阅
- MyOIDC v1.1.0 发布,基于 OIDC 协议的参考实现,根据各类库提供实现参考
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
Java核心技术·卷1:基础知识(原书第9版)
(美)Cay S. Horstmann、(美)Gary Cornell / 周立新、陈波、叶乃文、邝劲筠、杜永萍 / 机械工业出版社 / 2013-11-1 / 119.00
Java领域最有影响力和价值的著作之一,拥有20多年教学与研究经验的资深Java技术专家撰写(获Jolt大奖),与《Java编程思想》齐名,10余年全球畅销不衰,广受好评。第9版根据JavaSE7全面更新,同时修正了第8版中的不足,系统全面讲解Java语言的核心概念、语法、重要特性和开发方法,包含大量案例,实践性强。 《Java核心技术·卷1:基础知识》共14章。第1章概述了Java语言与其......一起来看看 《Java核心技术·卷1:基础知识(原书第9版)》 这本书的介绍吧!