内容简介: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 deprecatedMade 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 processorsAdded 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()methodAndroidChannelBuilder 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.
详情见发布公告。
下载地址:
【声明】文章转载自:开源中国社区 [http://www.oschina.net]
以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
Python标准库
Doug Hellmann / 刘炽 / 机械工业出版社华章公司 / 2012-6-15 / 139.00元
本书由资深Python专家亲自执笔,Python语言的核心开发人员作序推荐,权威性毋庸置疑。 对于程序员而言,标准库与语言本身同样重要,它好比一个百宝箱,能为各种常见的任务提供完美的解决方案,所以本书是所有Python程序员都必备的工具书!本书以案例驱动的方式讲解了标准库中一百多个模块的使用方法(如何工作)和工作原理(为什么要这样工作),比标准库的官方文档更容易理解(一个简单的示例比一份手册......一起来看看 《Python标准库》 这本书的介绍吧!