davsclaus opened a new issue #328:
URL: https://github.com/apache/camel-kamelets/issues/328


   1)
   It would be good to declare for sources what the output is
   
   For example for chuck norris the output is text/plain
   
https://github.com/apache/camel-kamelets/blob/main/chuck-norris-source.kamelet.yaml#L25
   
   And for many other sources it would be application/json
   
   2)
   And for sinks its the opposite, eg to list what the expected input type is
   It may be that if there is no specific content-type declared then we would 
not really know. So maybe we should go over all the existing Kamelets and 
ensure they have IN and OUT types declared.
   
   In this sink you can only see from the description that it expects the input 
to be a json array
   
https://github.com/apache/camel-kamelets/blob/main/cassandra-sink.kamelet.yaml#L27
   
   3)
   And it would be good if we can have examples on the input and output type 
also, like we can have for input parameters.


-- 
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to