You can look into enabling keepalive on the channel that will detect failure of underlying TCP connections and attempt to reconnect. If you have multiple TCP connections, gRPC will pick the first available connection by default and switch to another one when that one fails.
On Monday, August 5, 2019 at 2:19:19 AM UTC-7, Elhanan Maayan wrote: > > hi.. i was wondering if it's possible to configure grpc's api to an > active/passive config, so that if one packet doesn't come from one source > in a defined gime, it would automatically switch to another source > -- 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 on the web visit https://groups.google.com/d/msgid/grpc-io/1dfa258e-925e-461f-94c7-f35ff32ae875%40googlegroups.com.