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
Support boolean values in additionalProperties of Kafka kamelet #1492
Comments
Thanks, yeah we need to improve this - apache kafka client is able to automatic convert these config values, but MS Azure is not able to |
One thing we could do in the future is providing some basic buidling block to connect to different types of schema registry. |
I created a ticket |
You can use I can see in the source code for MS Azure then they dont have like Kafka a way to automatic convert, or to specify in the code what type the options are. You have to look inside, and some are (Integer) also etc. |
We could hardcode special conversions inside camel-kafka that check for known types for MS Azure, but then we risk getting out of sync. |
When You say "in camel now", do You mean this is already available or that it is coming with Camel 3.20.6? Also, are there any resources where these special references in YAML DSL (#class, #bean, #valueAs, ...) are documented? I am having trouble finding any. |
Camel uses property binding And it started also earlier before yaml with setting up beans in properties file which has some more smaller snippets |
|
There is also an exisiting option (although intended for confluent only, but its general) From
To
That should work on 3.20.4 / 3.20.5 release |
closing as this is general camel issue and not kamelet |
Hi! It would be great if
additionalProperties
in the kafka component would support boolean values when writing in YAML DSL.Right now, the following route:
fails with the following exception:
Stacktrace:
The text was updated successfully, but these errors were encountered: