Closed andreas-eberle closed 3 years ago
The cert location must be a path on the file system, not from the classpath. Kafka is looking for the file on the file system.
Would it be possible to allow paths in the artefact as well?
It seems that the Kafka client does not.
Closing, unrelated to quarkus.
Describe the bug I try to load a keystore file from my projects
META-INF/resources
directory to use it with the smallrye kafka extension. This is my application.properties (also see reproducer below):I get the follwing inconsitent behaviors:
./gradlew quarkusDev
: The keystore file in the META-INF/resources directory is loaded and it works fine../gradlew quarkusBuild
: The keystore file cannot be found (see exception below)./mvnw quarkus:dev
: The keystore file cannot be found.This leads to the following questions:
When the keystore file cannot be found, this is the exception:
To Reproduce Steps to reproduce the behavior:
./gradlew quarkusDev
, you should see messages that either it successfully connected to kafka or cannot connect to the node depending on if you have a kafka running or not. This shows it was able to read the certificates file. In the other cases, it will crash on start with the exception shown above.Environment (please complete the following information):