Hi,
I would like to use the grpc java load balancing library, I looked at the
example code, it looks like below:
public HelloWorldClient(String zkAddr) {
this(ManagedChannelBuilder.forTarget(zkAddr)
.loadBalancerFactory(RoundRobinLoadBalancerFactory.getInstance())
.nameResolverFactory(new ZkNameResolverProvider())
.usePlaintext(true));
}
I would like to pass ManagedChannelBuilder a list of service ip addresses
directly, rather than let a NameResolver to resolve for me. Then I still
want to use .loadBalancerFactory(roundRobinLoadBalancerFactory.getInstance()),
if there a way to do it ?
Thanks a lot!
--
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/a568a077-0f4f-4386-9446-613ea83a469f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.