Different instances of the same backend I want to use in my gRPC Channel are hosted in different AWS regions with different DNS. I want to pass in all these different DNS at the time of Channel creation, probably something like this - ``` ManagedChannelBuilder.forTarget("multi-endpoint://dns1.com;dns2.com;dns3.com") ```
Then, I want to write an implementation of the NameResolver interface that gRPC provides, to do the name resolution individually for the three DNS. However, it works only if the serviceAuthority is same across all the DNS. My questions are - 1. Should I even be creating a single Channel with multiple DNS? Is it anti-pattern? 2. Is it possible to create a single Channel with multiple DNS and have it work when serviceAuthorities are different? 3. Should I create multiple Channels, one for each DNS? Thanks, Abhinav. -- 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 grpc-io+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/grpc-io/7f72b46d-d35a-4af7-afda-de299d1f198fn%40googlegroups.com.