lburgazzoli edited a comment on issue #1541:
URL: https://github.com/apache/camel-k/issues/1541#issuecomment-646043043


   You need to add a dependency on the camel-componentdsl as it is not included 
by default, something like:
   
       kamel run -d camel-componentdsl KafkaProducer.java
   
   but you don't need use a ComponentsBuilderFactory if you want to configure 
component level properties
   
       kamel run --property camel.component.kafka.brokers=... KafkaProducer.java
   
   should be equivalent to what you had in the 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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to