You will need to stop using forAddress() and switch to forTarget(). The target string is resolved by NameResolver, which may emit multiple addresses. See my reply <https://groups.google.com/d/msg/grpc-io/CLApO9C16y0/agGHIA4JAwAJ> on the other thread.
On Wednesday, February 1, 2017 at 7:19:58 PM UTC-8, [email protected] wrote: > > Trying to implement load balancer in gRPC client in JAVA, not sure how to > implement. Can anyone help me out? > > I have been using managedChannel.forAddress("")...If I use load balancer > where should I provide multiple server addresses? > -- 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/352ce431-0b34-47f2-9167-8e468b12ef52%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
