ArunTaneja created CAMEL-13862:
----------------------------------
Summary: Camel-Kafka-Starter module for springboot properties
usage is not described anywhere
Key: CAMEL-13862
URL: https://issues.apache.org/jira/browse/CAMEL-13862
Project: Camel
Issue Type: Task
Components: camel-kafka
Affects Versions: 2.23.1
Reporter: ArunTaneja
As per the document
[https://github.com/apache/camel/blob/master/components/camel-kafka/src/main/docs/kafka-component.adoc]
We can include this camel-kafka-starter for springboot project
h2. Spring Boot Auto-Configuration
When using Spring Boot make sure to use the following Maven dependency to have
support for auto configuration:
<dependency> <groupId>org.apache.camel</groupId>
<artifactId>camel-kafka-starter</artifactId> <version>x.x.x</version> <!-- use
the same version as your Camel core version --> </dependency>
But there is no example or way to use these auto configutation properties in
our code.We still need to use from(kafka:topicNAme?broker=&) and add further
properties with query parameters in from method.
We though auto configuration should eliminate this URI building in "from"
method while creating route.
Please provide example to describe the usage of this library
Thanks,
Arun
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)