arthurdm opened a new issue #2085: URL: https://github.com/apache/camel-k/issues/2085
This issue is about the [dependencies](https://camel.apache.org/camel-k/latest/configuration/dependencies.html) documentation page. It feels like it does not provide the user with the scenarios where Camel K does **not** resolve dependencies and which dependencies I should add. Take this simple integration as example: ``` @Override public void configure() throws Exception { //Receive a msg from the configured Kafka topic from("kafka:" + topic).to("direct:kafka_consumer"); //Push the body of the msg into the configured URL (using the configured username/apiKey) //We're using the http component to accomplish the outgoing call from("direct:kafka_consumer") .log("Received body: ${body}") .process(this) .to(url + "?httpMethod=POST" + "&authMethod=Basic" + "&authUsername=" + username + "&authPassword=" + apiKey + "&authenticationPreemptive=true") .log("Response code: ${header.CamelHttpResponseCode}") .log("Response body: ${body}"); } ``` It's a basic Kafka -> Rest mapping. The first few times this integration failed with messages that there was no Kafka component, so I eventually learned that my `kamel run` cmd needed to include `-d camel-kafka` in order to work. Shouldn't Camel K have resolved that from the line `from("kafka:" + topic)`? If not, it should be documented that if using Kafka the `-d camel-kafka` option needs to be specified. After that I spent a long time debugging why my Pod failed with a `java.lang.NoClassDefFoundError: javax/servlet/http/HttpServletRequest` error. I tried `-d camel-http` but no luck. It was only after @davsclaus pointed out in a reply to my [chat question](https://camel.zulipchat.com/#narrow/stream/257299-camel-k/topic/HttpServlet/near/228321231) (thanks Claus 👍 ) that I was directed to add `-d camel-quarkus-http`. From a Camel K documentation perspective, how is someone expected to know that? My proposal is for this issue to gather the 10 most commonly explicitly added dependencies and write them into the [dependencies page](https://camel.apache.org/camel-k/latest/configuration/dependencies.htm) with the context on when they should be used. Thoughts? I think Kafka & HTTP/S are good candidates. ---------------------------------------------------------------- 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: us...@infra.apache.org