Hi,

I am trying to figure out why camel-kafka-starter is excluding the transitive 
dependency to kafka-clients: 
https://github.com/apache/camel/blob/99c0a691f35868aa43c9c159e9076de0ea5e0c38/platforms/spring-boot/components-starter/camel-kafka-starter/pom.xml#L47
The whole idea with Spring Boot Starters is "a one-stop-shop for all the Spring 
and related technology that you need without having to hunt through sample code 
and copy paste loads of dependency descriptors" (from 
https://github.com/spring-projects/spring-boot/tree/master/spring-boot-project/spring-boot-starters).
 In order to use camel-kafka, you obviously need a dependency to one or more 
Kafka artifacts, and I think those dependencies should be pulled in with 
camel-kafka-starter. So why the exclusion?

This means that a cannot only depend on camel-kafka-starter to "get started", 
but I also have to explicitly add the dependency to kafka-clients. And maybe 
also kafka_2.11? I don't know, and I think that these exclusions ruin the 
starter concept for camel-kafka.....
The versions of Kafka artifacts will be managed by Spring Boot BOM, but some 
artifact must declare the dependencies, and I think it should be 
camel-kafka-starter in this case.

Is there any rationale behind that I do not understand?

Regards,
Erik

"This email with attachments is solely for the use of the individual or entity 
to which it is addressed. It may contain confidential or privileged 
information. If you are not the addressee, please notify the sender and delete 
this message and all attachments from your files."

Reply via email to