GRPC Java 1.5.0 已经发布,GRPC Java 是 GRPC 的 Java 版本。本次更新如下:
Major
Licence changes from BSD to Apache 2.0
Bazel is now supported
API Changes:
ServerInterceptor can be installed server-wide (#3118)
Minor
Calls that exceed their deadline include how long they waited in the Status
Updated to Netty TCNative. This should make it possible to use Apache Tomcat with gRPC
SSL configuration errors are reported sooner
Server side cancellations can take place even if the application is blocking the inbound thread (#2963)
Servers always return Status.UNKNOWN for internal errors. Added an optional interceptor to bring back the old behavior (#3064)
MethodDescriptor.create is now deprecated
引用来自“DuSirong”的评论
有没有grpc java 负载均衡的demo,google了半天没找到然后Java版的简单实现也有,可以看看这个https://github.com/grpc/grpc-java/tree/master/grpclb
引用来自“michaely”的评论
#jboot#的grpc整合,势在必行了。引用来自“游客”的评论
google出品,必属精品