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:54:00 UTC

[jira] [Resolved] (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:all-tabpanel ]

Claus Ibsen resolved CAMEL-13862.
---------------------------------
    Resolution: Invalid

Spring Boot auto configuration is only for global options on the kafka component level. You cannot configure everything there, some options are endpoint only 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)