gRPC-Java 1.14.0 发布,gRPC 的 Java 实现

栏目: 服务器 · 发布时间: 7年前

内容简介: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#negotiationType is now deprecated

  • Made protobuf, protobuf-lite, and protobuf-nano classes final.

New Features

  • Channel Tracing now record State Changes

  • Stubs now have an RpcMethod annotation for use with annotation processors

  • Added support for providing List<EquivalentAddressGroup> to LoadBalancer Subchannels, in addition to the option of providing a  EquivalentAddressGroup (EAG). This prevents the need for  LoadBalancer s to "flatten" a  List<EquivalentAddressGroup> into a single  EquivalentAddressGroup which loses/confuses the EAG's  AttributesNameResolver s can now specify  Attributes in an EAG and expect that the values are passed to gRPC's core. Future work will add  List<EAG> for  OobChannel s.

  • 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 )

  • TransmitStatusRuntimeExceptionInterceptor now avoids accidentally double closing the call.

详情见 发布公告

下载地址:


以上所述就是小编给大家介绍的《gRPC-Java 1.14.0 发布,gRPC 的 Java 实现》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

JAVASCRIPT权威指南(第四版)

JAVASCRIPT权威指南(第四版)

David Flanagan / 张铭泽、等 / 机械工业出版社 / 2003-1-1 / 99.00

《JavaScript权威指南》全面介绍了JavaScript语言的核心,以及Web浏览器中实现的遗留和标准的DOM。它运用了一些复杂的例子,说明如何处理验证表单数据、使用cookie、创建可移植的DHTML动画等常见任务。本书还包括详细的参考手册,涵盖了JavaScript的核心API、遗留的客户端API和W3C标准DOM API,记述了这些API中的每一个JavaScript对象、方法、性质、......一起来看看 《JAVASCRIPT权威指南(第四版)》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具