grpc/grpc-java

Add support for HAProxy Protocol ("proxy protocol")

オープン

#8,949 opened on 2022/02/28

 (12 件のコメント) (0 件のリアクション) (0 人の担当者)Java (3,742 件のフォーク)batch import
enhancementhelp wanted

Repository metrics

Stars
 (11,124 個のスター)
PR merge metrics
 (平均マージ 23d 22h) (30d で 43 merged PRs)

説明

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 ?

コントリビューターガイド