claudio4j commented on issue #866:
URL: https://github.com/apache/camel-kamelets/issues/866#issuecomment-1096773272
I am investigating this issue. Looking at the
[avro-deserialize-action](https://camel.apache.org/camel-kamelets/next/avro-deserialize-action.html)
and the corresponding binding example file
[avro-deserialize-action-binding.yaml](https://github.com/apache/camel-kamelets/blob/0.7.x/templates/bindings/camel-k/avro-deserialize-action-binding.yaml)
It fails with `JsonParseException: Needed to read 36 bytes, missed 36 before
end-of-input`
The kamelet binding should be fixed by having a json message in the timer
and additional steps to convert string -> json -> avro.
I had not run all the other auto generated kamelet biding to see if they
work.
To fix this, I propose one of the following options:
1. Have all the kamelet bindings in `templates/bindings/camel-k` directory
in working condition and have `docs/modules/ROOT/examples/js/kamelets.js` to
source these files as examples instead to auto generate them. And have only one
kafka or knative channel sink in the example binding file.
2. Fix only the non working binding example files in
`templates/bindings/camel-k` directory, add a comment marker to it, and change
`docs/modules/ROOT/examples/js/kamelets.js` to source this example file into
the generated html doc, instead to auto generated the binding example.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]