-
Notifications
You must be signed in to change notification settings - Fork 137
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
Quarkus adapter startup fails with Kafka config property having empty string value #2941
Comments
I thought, using |
I do not really understand what you are trying to achieve and what problem you are experiencing. Can you be a little more elaborate? |
When using the IoT Packages Hono helm chart with Kafka parameters, the Kafka config contains this by default:
When installing the Helm chart, using Kafka and using the Hono quarkus images from current master, the adapter startup fails with the above exception.
So, the question is how to make it possible that the Maps returned by the |
Well, we could also simply prevent the empty string being used as the property value, couldn't we? Have you checked if it works if you simply omit the |
…y values. Signed-off-by: Carsten Lohmann <[email protected]>
When omitting the There are long discussions on the handling of empty string values in SmallRye/Eclipse MicroProfile Config - see microprofile/microprofile-config#671. Unfortunately, there currently doesn't seem to be a straightforward way to differentiate between a String with a I've created #2944 now to apply the solution mentioned in microprofile/microprofile-config#671 - using the |
Signed-off-by: Carsten Lohmann <[email protected]>
Trying to deploy a Quarkus-based protocol adapter built using current master, startup fails with this exception:
The issue can be reproduced with the
QuarkusPropertyBindingTest
unit test (in theadapter-base-quarkus
module) by adding a property with an empty string value inadapter-base-quarkus/src/test/resources/application.yaml
.The text was updated successfully, but these errors were encountered: