grpc / grpc/grpc-java

Add support for HAProxy Protocol ("proxy protocol")

Aperta
#8,949 12 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement help wanted
Lingua principale
Java
Stelle
12.1k
Fork
4k
Merge medio
2g 17h
PR unite (30g)
37

Descrizione

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 ?

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.