-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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 client improvements #46198
Conversation
Thanks for your pull request! Your pull request does not follow our editorial rules. Could you have a look?
This message is automatically generated by a bot. |
6ae867f
to
6170715
Compare
This comment has been minimized.
This comment has been minimized.
@alesj I think I broke internet here eheh |
I will check the failures tomorrow but I see @cescoffier told in the related issue
Grpc Netty should be safe (in theory?) - or you meant the grpc Java netty provider too? |
Interesting: see
Which means that we have to know how vertx transport is configured and reuse it to configure the grpc Netty channel (nio/epoll/ whatever) in order to work, which kind of make Sense since Netty will complain the same If the event loop used isn't of the "right type" - a limit which have lifted on Netty 4.2 (partially) |
2d06e28
to
8fdb4b8
Compare
extensions/grpc/runtime/src/main/java/io/quarkus/grpc/runtime/supports/Channels.java
Show resolved
Hide resolved
This comment has been minimized.
This comment has been minimized.
that looks better @alesj wdyt? |
8fdb4b8
to
48b6c1d
Compare
This comment has been minimized.
This comment has been minimized.
@cescoffier @geoand do we want a special config to enable this? |
Probably makes sense |
Good question. I would say yes and enable it by default. Someone can roll back to the previous behavior if something goes wrong. |
@cescoffier I'll make it a proper runtime config? Documented? wdyt? 🙏 |
@franz1981 Yes, runtime config would be great! |
need some help @cescoffier and @alesj 👍 quarkus/extensions/grpc/deployment/src/main/java/io/quarkus/grpc/deployment/GrpcClientProcessor.java Line 474 in de910cc
The other problem is that I keep on reading the sysprop re reusing buffers with it, while I probably just read it once. |
You can pass (your modified) GrpcClientBuildTimeConfig to |
@alesj @cescoffier I've added the option to use a runtime config instead, to keep it more flexible - since the loaded classes will basically the same |
48b6c1d
to
b32fba7
Compare
This comment has been minimized.
This comment has been minimized.
🎊 PR Preview 58ff745 has been successfully built and deployed to https://quarkus-pr-main-46198-preview.surge.sh/version/main/guides/
|
This comment has been minimized.
This comment has been minimized.
ready to go @cescoffier ? wdyt? |
b32fba7
to
bf12ff2
Compare
Status for workflow
|
Status for workflow
|
Fixes #46148