-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
reactive-messaging-kafka: CNFE: io.quarkus.netty.runtime.NettyTemplate #2548
Comments
Can you try to add the |
Don't worry, I've reproduced it... Fix on its way. |
Adding quarkus-vertx works around the problem, yes. I see there's a problem with the issue templates, the description gets so long that it's not easy to read all of it ;) |
at the same time, I'm fixing a native build issue. |
Missing dependency in the reactive messaging extension Missing dependency in the kafka connector (require during the native build)
Can you check #2551? |
@cescoffier any idea why @michalszynkiewicz can you share your sample app ? |
kafka-quickstart doesn't reveal the problem as it has explicit dependency on quarkus-vertx |
Plus there is quarkusio/quarkus-quickstarts#145 |
@rsvoboda the simplest possible reproducer: https://github.com/michalszynkiewicz/quarkus-kafka-error-reproducer |
Describe the bug
A project with
quarkus-smallrye-reactive-messaging-kafka
andquarkus-smallrye-reactive-messaging
works fine in thequarkus:dev
mode but fails to start from jar.Also fails to build to a native image.
Expected behavior
The application should start without error and it should be possible to build a native image.
Adding a dependency on
quarkus-vertx
solves the problem.I think it may be that the dependency on
quarkus-vertx
is missing fromquarkus-smallrye-reactive-messaging-kafka
. There is a dependency between the deployment modules.Actual behavior
The following exception is thrown when the jar is executed:
To Reproduce
Steps to reproduce the behavior:
mvn clean package
Configuration
Environment (please complete the following information):
uname -a
orver
: Linux t580 5.0.16-200.fc29.x86_64 Switch to the Maven distributed copy of the SubstrateVM annotations #1 SMP Tue May 14 18:27:35 UTC 2019 x86_64 x86_64 x86_64 GNU/Linuxjava -version
: Java HotSpot(TM) 64-Bit Server VM (build 25.201-b09, mixed mode)The text was updated successfully, but these errors were encountered: