We have come up with a more concrete plan for the API and implementation migration. You can find it on https://github.com/grpc/grpc-java/issues/2656
It will be updated with the progress. On Monday, January 23, 2017 at 3:10:29 PM UTC-8, Kun Zhang wrote: > > 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/47cd67d3-4e70-4dc8-8791-2f8ed5483d1d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
