grpc / grpc/grpc-java

Add support for HAProxy Protocol ("proxy protocol")

Abierto
#8,949 12 comentarios 0 reacciones 0 asignados Ver en GitHub
enhancement help wanted
Lenguaje dominante
Java
Estrellas
12.1k
Forks
4k
Merge medio
2 d 17 h
PR fusionados (30 d)
37

Descripción

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 ?

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Start by reading NettyServerBuilder and the issue discussion to determine how GrpcNettyServer exposes its ChannelPipeline and whether CustomHandler integration is supported. Clarify the intended HAProxy Protocol behavior and identify the relevant tests; done means the requested proxy-protocol support or pipeline customization is covered and verified.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
java
Área
backend, networking
Tipo de issue
Nueva funcionalidad
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
30/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.