Got it. Thanks Yulin! On Tuesday, March 9, 2021 at 12:55:18 PM UTC-8 [email protected] wrote:
> Hi Qing, > > 1. I just checked, Cronet channels don't support retry for now. Retry is > not fully implemented in gRPC C-core, the part that's implemented now > works only as part of the client channel filter, but cronet channels are > direct channels, they don't use the client channel filter. > > 2. grpc_channel_ping() doesn't work with cronet channels. The cronet > transport ignores all transport ops sent from the surface. > > Thanks, > Yulin > > On Mon, Mar 8, 2021 at 8:56 AM 'Qing Li' via grpc.io < > [email protected]> wrote: > >> Hello, >> >> We have several questions related to gRPC C++ cronet channel. >> >> 1. Does cronet channel support retry? We followed the e2e test service >> retry example >> <https://github.com/grpc/grpc/blob/v1.33.x/test/core/end2end/tests/retry_recv_message.cc#L100> >> >> and implemented gRPC retry. The retry works with http2/ssl channel but >> looks like retry doesn't work with cronet channel. We also want to confirm >> whether retry is officially supported from gRPC C++ core. >> >> 2. Does cronet channel support this grpc_channel_ping >> <https://github.com/grpc/grpc/blob/1835f00ef1fb41dc220db7885b5f6fa9e3123fae/src/core/lib/surface/channel.h#L171> >> API? The >> context is: we implemented a long lived bidi-streaming RPC call. There is a >> long period of idle when this RPC is alived. We want to periodically call >> this channel API to check if channel is health. We know keep alive is not >> supported by cronet channel. In addition, this grpc_channel_ping API has >> been removed from the latest release. We are wondering if there is any >> alternative ping API. >> >> Thanks, >> Qing >> >> -- >> 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/1576fd35-24a3-46a2-aea3-63f7d7f26d32n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/grpc-io/1576fd35-24a3-46a2-aea3-63f7d7f26d32n%40googlegroups.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/5cb57f2b-6f7d-4353-8d0b-edc473d97d3an%40googlegroups.com.
