Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Invalid
-
2.23.1
-
None
-
None
-
Unknown
Description
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
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