Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-13862

Camel-Kafka-Starter module for springboot properties usage is not described anywhere

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • 2.23.1
    • None
    • camel-kafka
    • 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

      Attachments

        Activity

          People

            Unassigned Unassigned
            a_taneja3 ArunTaneja
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: