grpc/grpc-java

Add support for HAProxy Protocol ("proxy protocol")

Open

#8.949 aberto em 28 de fev. de 2022

Ver no GitHub
 (12 comments) (0 reactions) (0 assignees)Java (3.742 forks)batch import
enhancementhelp wanted

Métricas do repositório

Stars
 (11.124 stars)
Métricas de merge de PR
 (Mesclagem média 23d 22h) (43 fundiu PRs em 30d)

Description

Is there a way to add a CustomHandler to ChannelPipeline using NettyServerBuilder ?

I initialize my GrpcNettyServer by below:

NettyServerBuilder serverBuilder = 
    NettyServerBuilder
      .forPort(config.getPort())
      .addService();
      .intercept();
      .executor();
      .build();

All I want is to get the channel from the server and add a custom handler to the channel pipeline. Does NettyServerBuilder supports that option ?

Guia do colaborador