-
Notifications
You must be signed in to change notification settings - Fork 352
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
kamelet: allow to add additional attributes to in/out #3090
Comments
This issue has been automatically marked as stale due to 90 days of inactivity. |
Given #4100 - is this still relevant @christophd ? |
I think partially this has been done already with #4100 The Java contentClass class information that is explicitly mentioned in this issue is missing though in the DataTypes section in Kamelet spec AFAIK. Information such as the Java contentClass may be given on the individual schema resolver step using the resolve-pojo-schema-action Kamelet. The idea is to resolve the schema for a contentClass (delegating to Avro, Protobuf, ...) in a first step and the have the information available to serialize/deserialize the content using one of the serdes action Kamelets (e.g. avro-deserialize-action @lburgazzoli WDYT? |
If I properly recall the problem, here the idea was more related to design time, so to provide hints for tooling i.e. if you have a data mapper then you can use the schema in the mapper. But I think we can close this issue and eventually open a new and more detailed one. |
As today, a kamelet has the option to define the types it supports but that is limited to the following information:
Given that a kamelet may be more complex and the tooling using them may need more information it would be nice to have the option to add additional metadata, as example, in some case it may be useful to add an information about what is the Java class the output of a camel is build upon:
This may be useful for tools as they may compute the scheme of the payload.
The text was updated successfully, but these errors were encountered: