I am using Consul for Service Discovery; and supply list of servers in NameResolver.start(Listener listener) during Client startup.
- How can i add new Servers that Joined-in as Service Providers (in Consul)
- I am using Round Robin; and when one of the server dies; it keeps hitting the dead server
- Would you have a sample to retry on UNAVAILABLE exception? I just want to retry atleast once before giving up on the Client side.
Thank you in Advance
I wrote my own LoadBalancer; and @Override pickTransport() to RoundRobin healthy gRPC servers from Consul.