apache / camel-kamelets

Apache Camel Kamelets Repository
https://camel.apache.org
Apache License 2.0
54 stars 74 forks source link

camel-kamelets-utils - Reduce dependencies in use #1146

Open davsclaus opened 1 year ago

davsclaus commented 1 year ago

The reuse of kamelets are more limited due to kamelets-utils are bringing in a number of depedencies that are for a specific Camel version.

We should try to reduce the number of dependencies if we can, and try to use only generic camel apis that does not change as much. This allows kamelets to be used across multiple Camel versions.

For example camel-kafka we only use some constant names for headers. Instead of we just use the String value instead and remove camel-kafka. https://github.com/apache/camel-kamelets/blob/main/library/camel-kamelets-utils/pom.xml

davsclaus commented 1 year ago

Some of the util code could maybe also be moved to camel core project / components

oscerd commented 1 year ago

There is this draft which is somewhat related https://github.com/apache/camel/pull/8694