-
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
Native packaging fail with kafka-client #16769
Labels
Milestone
Comments
/cc @cescoffier |
cescoffier
added a commit
to cescoffier/quarkus
that referenced
this issue
Apr 26, 2021
…tional" dependency and make it mandatory. This commit also enables the Jackson features unconditionally as the capability will always be present. Our tests did not catch this issue as all of them had a dependency on quarkus-jackson. Fix quarkusio#16769
gsmet
pushed a commit
to gsmet/quarkus
that referenced
this issue
Apr 26, 2021
…tional" dependency and make it mandatory. This commit also enables the Jackson features unconditionally as the capability will always be present. Our tests did not catch this issue as all of them had a dependency on quarkus-jackson. Fix quarkusio#16769 (cherry picked from commit d85ae29)
gsmet
pushed a commit
to gsmet/quarkus
that referenced
this issue
Apr 26, 2021
…tional" dependency and make it mandatory. This commit also enables the Jackson features unconditionally as the capability will always be present. Our tests did not catch this issue as all of them had a dependency on quarkus-jackson. Fix quarkusio#16769 (cherry picked from commit d85ae29)
gsmet
pushed a commit
to gsmet/quarkus
that referenced
this issue
Apr 29, 2021
…tional" dependency and make it mandatory. This commit also enables the Jackson features unconditionally as the capability will always be present. Our tests did not catch this issue as all of them had a dependency on quarkus-jackson. Fix quarkusio#16769 (cherry picked from commit d85ae29)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When using the kafka-client extension, the native packaging fail.
The issue is related to a Jackson dependency pulled by Apache Kafka.
If I include the
quarkus-jackson
extension the native packaging works.Expected behavior
One should be able to build a native executable with only the
kafka-client
extension`Actual behavior
With only the
kafka-client
extension, the native packaging fail with this stacktrace:To Reproduce
Link to a small reproducer (preferably a Maven project if the issue is not Gradle-specific).
Or attach an archive containing the reproducer to the issue.
Steps to reproduce the behavior:
curl https://code.quarkus.io/d?a=kafka-client-native-failure&e=kafka-client&cn=code.quarkus.io -o kafka-client-native-failure.zip && unzip kafka-client-native-failure.zip && cd kafka-client-native-failure && ./mvnw package -Pnative -DskipTests
You will obtain a failure
You can compare with the version where Jackson is embedded
curl https://code.quarkus.io/d?a=kafka-client-with-jackson&e=kafka-client&e=jackson&cn=code.quarkus.io -o kafka-client-with-jackson.zip && unzip kafka-client-with-jackson.zip && cd kafka-client-with-jackson && ./mvnw package -Pnative -DskipTests
Configuration
# Add your application.properties here, if applicable.
Screenshots
(If applicable, add screenshots to help explain your problem.)
Environment (please complete the following information):
Output of
uname -a
orver
Output of
java -version
GraalVM version (if different from Java)
Quarkus version or git rev
1.3.2.Final
Build tool (ie. output of
mvnw --version
orgradlew --version
)Additional context
(Add any other context about the problem here.)
The text was updated successfully, but these errors were encountered: