grpc/grpc-java

Add support for HAProxy Protocol ("proxy protocol")

Open

#8 949 ouverte le 28 févr. 2022

Voir sur GitHub
 (12 commentaires) (0 réactions) (0 assignés)Java (3 742 forks)batch import
enhancementhelp wanted

Métriques du dépôt

Stars
 (11 124 stars)
Métriques de merge PR
 (Merge moyen 23j 22h) (43 PRs mergées en 30 j)

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 ?

Guide contributeur