Using HTTP/1 in Netty for gRPC is not currently feasible. It's effectively a rewrite.
You need to use the TCP-based mode for those load balancers (any that don't support HTTP/2 to the backend). You probably want to use NettyServerBuilder.maxConnectionAge and NettyServerBuilder.keepAliveTime to cause clients to rebalance over backends over time and avoid the ~1 minute idleness timeout of the LB from causing disconnections. On Mon, Aug 7, 2017 at 11:10 AM, <[email protected]> wrote: > I'm using Amazon Load Balancers. > > > On Monday, August 7, 2017 at 11:25:35 AM UTC-4, Spencer Fang wrote: >> >> Hi mvnjpy, >> Which load balancer are you using, and how is it configured? >> >> Although it's not impossible to support HTTP1, gRPC today requires HTTP2. >> You can read this discussion for more info: https://github.com/grpc/ >> grpc-experiments/issues/284 >> >> Lyft Envoy is able to do this translation but I have not used it before >> myself: >> https://lyft.github.io/envoy/docs/configuration/http_filters >> /grpc_http1_bridge_filter.html >> >> On Fri, Aug 4, 2017 at 5:50 PM, <[email protected]> wrote: >> >>> The Java implementation supports Netty for transport. Is there a way to >>> make it use HTTP1 with this transport? I need to work with load balancers >>> that don't support HTTP2. >>> >>> -- >>> 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 post to this group, send email to [email protected]. >>> Visit this group at https://groups.google.com/group/grpc-io. >>> To view this discussion on the web visit https://groups.google.com/d/ms >>> gid/grpc-io/3426aaaf-a0f1-49df-97c1-d14748cc61da%40googlegroups.com. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> >> >> -- >> Spencer Fang >> > -- > 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 post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/grpc-io. > To view this discussion on the web visit https://groups.google.com/d/ms > gid/grpc-io/f30e8b92-c97e-4b76-8e35-ab6cbdd2e43a%40googlegroups.com > <https://groups.google.com/d/msgid/grpc-io/f30e8b92-c97e-4b76-8e35-ab6cbdd2e43a%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- 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 post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/grpc-io. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/CA%2B4M1oMJb95g9xGt5aBmUpAcqETstYAmiUm7iD_K09p8qo_Jeg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
smime.p7s
Description: S/MIME Cryptographic Signature
