You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2019/08/13 09:56:00 UTC

[jira] [Commented] (CAMEL-13862) Camel-Kafka-Starter module for springboot properties usage is not described anywhere

    [ https://issues.apache.org/jira/browse/CAMEL-13862?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16906025#comment-16906025 ] 

Claus Ibsen commented on CAMEL-13862:
-------------------------------------

Also mind about the version of Camel you use. Camel Kafka was recently updated to allow to configure brokers on component level, so the uri only has the topic name etc. 

> 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
>            Priority: Major
>
> 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)