Yes. By "multiple servers", if you mean multiple backends of the same service, then it is possible. You can achieve this by: 1. Resolve the backend endpoint URL to multiple backend IP. 2. Set the load balance policy to "round_robin".
You can take a look at the C++ example https://github.com/grpc/grpc/tree/master/examples/cpp/load_balancing. On Sunday, September 15, 2019 at 10:22:42 PM UTC-7, Gautham Bhat wrote: > > > Hi All, > I have an use case where a client connects to multiple servers, how can I > achieve this? Is it possible to use single channel for multiple server > connections ? Can someone please help. I am using C++. > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/7da8f049-d820-401f-b331-50207adbd135%40googlegroups.com.
