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
Move gRPC extension to new Vert.x gRPC impl #28654
Conversation
Thanks for your pull request! The title of your pull request does not follow our editorial rules. Could you have a look?
|
This comment has been minimized.
This comment has been minimized.
@alesj there are various gRPC tests failing, can you have a look? |
Hmmm, I thought I have disabled these plain-text-mutiny tests … as they are
sure not to work — missing Stork impl
…On Tue, 18 Oct 2022 at 16:38, Clement Escoffier ***@***.***> wrote:
@alesj <https://github.com/alesj> there are various gRPC tests failing,
can you have a look?
—
Reply to this email directly, view it on GitHub
<#28654 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACRA6HTUCKTIG5XQMKMGKLWD2Y7ZANCNFSM6AAAAAARH372TE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
3de6a30
to
5ea4b28
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I made a few comments, but it's really great!
shutdown.addShutdownTask(route::remove); // remove this route at shutdown, this should reset it | ||
} | ||
|
||
// TODO -- handle Avro, plain text ... when supported / needed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we create an epic with the missing pieces (this one, stork...)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, that would be good -- so we don't miss out or forget.
We need to prepare:
|
This comment has been minimized.
This comment has been minimized.
Very much +1. I've also added the |
Failing Jobs - Building 0adf6c1
Full information is available in the Build summary check run. Failures⚙️ Gradle Tests - JDK 11 Windows #- Failing: integration-tests/gradle
📦 integration-tests/gradle✖
✖
📦 integration-tests/gradle/target/classes/basic-java-library-module/application✖
|
@cescoffier I let you merge it if you think it's ready. |
Yes it is, I just wanted to target 2.15. |
Well, then you're good to go as |
Atm there is
@alesj / @cescoffier / @gsmet |
@alesj ^ |
Added support for new Vert.x client/server based implementation.
It doesn't instantiate and start any new gRPC servers, it re-uses existing HTTP server.
The client side uses own Vert.x based Channel implementation.
New code is split between server and client side (doh!).
Server side simply registers a new route against existing HTTP server, only serving gRPC requests (based on content-type atm). Actual services and interceptors handling stays the same. The new implementation currently needs to be explicitly enabled:
quarkus.grpc.server.use-separate-server=false
Client side instantiates a new Vert.x GrpcClient based Channel implementation, handling client closure at the stop.
Interceptors handling stays the same. Not all previous client config could be mapped onto new implementation (TODO?).
The new implementation currently needs to be explicitly enabled:
quarkus.grpc.clients.<name>.use-quarkus-grpc-client=true
I guess once we feel comfortable enough, we'll revert the configuration usage for implementation selection.
Almost all (except the one's with load balancing / Stork) gRPC tests now have double "flavour":
Also added a mixture test - mixing old server with new client, and vice-versa.
New Vert.x client implementation is still missing load balancing and name resolver support.
(hence missing Vert.x client based tests ... a TODO)