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 LoadBalancers to "flatten" a List<EquivalentAddressGroup> into a single EquivalentAddressGroupwhich loses/confuses the EAG's AttributesNameResolvers 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 OobChannels.

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

详情见发布公告

下载地址:


【声明】文章转载自:开源中国社区 [http://www.oschina.net]


以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

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

游戏编程模式

游戏编程模式

Robert Nystrom / GPP翻组 / 人民邮电出版社 / 2016-9-1 / 61.4

游戏开发一直是热门的领域,掌握良好的游戏编程模式是开发人员的应备技能。本书细致地讲解了游戏开发需要用到的各种编程模式,并提供了丰富的示例。 全书共分20章,通过三大部分内容全面介绍了与游戏编程模式相关的各类知识点。首部分介绍了基础知识和框架;第二部分深入探索设计模式,并介绍了模式与游戏开发之间的关联;第三部分介绍了13种有效的游戏设计模式。 本书提供了丰富的代码示例,通过理论和代码示例......一起来看看 《游戏编程模式》 这本书的介绍吧!

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

html转js在线工具
html转js在线工具

html转js在线工具