Ah, nice! It looks like it needs to be configured before each use. You may be interested in issue 3644 <https://github.com/grpc/grpc-java/issues/3644> which would let you do some configuration (e.g., provide consul address) before registration. The hope would be that you wouldn't need the user to call ManagedChannelBuilder.nameResolverFactory() for each channel. There is also some work being done now which would eventually allow a name resolver to choose the load balancer, via service config.
On Sat, Jan 13, 2018 at 6:50 PM, <[email protected]> wrote: > Hi, > > I have implemented gRPC java client-side load balancer for consul: > https://github.com/mykidong/grpc-java-load-balancer-using-consul > > It can be used with consul or with static service node list. > > thank you. > > - Kidong Lee. > > -- > 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/e72bddec-fed9-494d-9d40-2972f8f49f4d%40googlegroups.com > <https://groups.google.com/d/msgid/grpc-io/e72bddec-fed9-494d-9d40-2972f8f49f4d%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CA%2B4M1oM9A2Od48NjbMO4LLqsHiO0AfsTqpHSdHswvpfj1rQwsQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
smime.p7s
Description: S/MIME Cryptographic Signature
