> On 17 Jul 2021, at 5:43 am, Mark Fine <[email protected]> wrote: > > Hi, > > We're running into issues with the client gRPC load balancer not re-resolving > domain names to pick up added servers (12295 > <https://github.com/grpc/grpc/issues/12295>). The workaround suggested in the > issue is to set MAX_CONNECTION_AGE_MS channel arguments on the server. Is > there a workaround for long-running streaming services that don't have an > applicable max connection age? Our client streams run "forever" and we'd like > them to pick up added servers without disrupting them. Is there anything we > can do to kick the client's channel to force it to re-resolve DNS names > (we're happy to handle running this periodically outside of the library). > Thanks for any help!
You could try creating a new stream periodically. Are you using bidi streaming, server streaming or client streaming? Either way, you could do something similar to what is being discussed here: https://groups.google.com/g/grpc-io/c/PXb2Xx89QH4/m/-ceBVgJ9BAAJ <https://groups.google.com/g/grpc-io/c/PXb2Xx89QH4/m/-ceBVgJ9BAAJ> Hope that helps. > > Mark > > -- > 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] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/grpc-io/CANRZ_fnd8NNG2EeqyhMn%2Beyz6QAoo5wQssqikWTnrbL%2BHyS_cQ%40mail.gmail.com > > <https://groups.google.com/d/msgid/grpc-io/CANRZ_fnd8NNG2EeqyhMn%2Beyz6QAoo5wQssqikWTnrbL%2BHyS_cQ%40mail.gmail.com?utm_medium=email&utm_source=footer>. -- 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/60563447-1DA2-48A7-9ACB-6DEF71329F1D%40gmail.com.
