If you don't *implement* your own gRPC Java LoadBalancer 
<https://github.com/grpc/grpc-java/blob/v1.0.3/core/src/main/java/io/grpc/LoadBalancer.java>,
 
you can stop reading now.


Dear gRPC users,


The experimental LoadBalancer 
<https://github.com/grpc/grpc-java/blob/v1.0.3/core/src/main/java/io/grpc/LoadBalancer.java>
 interface 
will be soon replaced by what is currently LoadBalancer2 
<https://github.com/grpc/grpc-java/blob/master/core/src/main/java/io/grpc/LoadBalancer2.java>.
 
More details about the new API can be found in the design doc 
<https://docs.google.com/document/d/1exE0_QNwbHJesD-Opl2D6qX1wujADkUm5OpFykks3C8/edit>
.

What's now LoadBalancer2 will be renamed to LoadBalancer, and the current 
LoadBalancer will be deleted. *It will happen on master after the upcoming 
1.1 release.* The 1.1 release will not be impacted.

If you *have your own LoadBalancer implementations*, please start to 
migrate to the new API, because ManagedChannelBuilder.loadBalancerFactory() 
<https://github.com/grpc/grpc-java/blob/master/core/src/main/java/io/grpc/ManagedChannelBuilder.java>
 will 
stop accepting the old LoadBalancer API.

All the stock LoadBalancer implementations that come with gRPC will 
automatically be migrated to the new API. If your code only passes them to 
ManagedChannelBuilder.loadBalancerFactory() 
<https://github.com/grpc/grpc-java/blob/master/core/src/main/java/io/grpc/ManagedChannelBuilder.java>,
 
you don't need to make any changes.

If you have any concerns, please reach out to me.


Thanks,

Kun

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/b8537c1c-5f0c-4d43-b85b-e34b4d6e0af8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to