New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
grpc-netty-shaded incompatible with netty-transport-native-epoll #4732
Comments
Yes, it is incompatible. There's only two choices:
At present (1), makes the most sense since you can't actually enable epoll/kqueue without using gRPC+Netty-specific APIs, which means using shaded names. At some point (maybe this quarter?) we'll have some built-in Unix Domain Socket handling, which will muddy the waters. Are you wanting the performance, unix socket support, or something else? |
We need it for unix socket support. Sounds like we should be moving back to grpc-netty until there's better built in support for unix sockets. Is there an issue tracking that work? |
There's also this https://github.com/HubSpot/grpc-netty-shaded-epoll |
I think this was fixed by #5581 |
Yep. Fixed by #5581 |
Please answer these questions before submitting your issue.
What version of gRPC are you using?
1.13.1
What did you expect to see?
I expected to be able to specify
EpollEventLoopGroup
andEpollDomainSocketChannel
as theeventLoopGroup
andchannelType
when usinggrpc-netty-shaded
.Due to netty-shading rewriting the package path,
grpc-netty-shaded
isn't compatible with regular netty packages. This is generally fine becausegrpc-netty-shaded
contains all classes necessary to use netty with grpc, but jars likenetty-transport-native-epoll
are missing, making it impossible (I think?) to use them withgrpc-netty-shaded
.Thoughts on this? Should
netty-transport-native-epoll
/netty-transport-native-kqueue
be shaded intogrpc-netty-shaded
?The text was updated successfully, but these errors were encountered: