Re: Kafka component Spring boot auto configuration

2018-12-06 Thread Yoshimo
Indeed, I added it and it works! Thank you very much! ‐‐‐ Original Message ‐‐‐ On Thursday, 6 December 2018 11:03, Luca Burgazzoli wrote: > I think you only need to add camel-kafka-starter as a dependency to > make it working. > Every component has a related starter that does the sprin

Re: Kafka component Spring boot auto configuration

2018-12-06 Thread Luca Burgazzoli
I think you only need to add camel-kafka-starter as a dependency to make it working. Every component has a related starter that does the spring-boot magic --- Luca Burgazzoli On Thu, Dec 6, 2018 at 9:54 AM Yoshimo wrote: > > I have created a demo project which demonstrates the issue. The issue is

Re: Kafka component Spring boot auto configuration

2018-12-06 Thread Yoshimo
I have created a demo project which demonstrates the issue. The issue is in application.properties file and in TestRoute class. https://drive.google.com/file/d/1PDZj5tNXqqr0EjB07wluLiwy4ACK1eiP/view?usp=sharing ‐‐‐ Original Message ‐‐‐ On Thursday, 6 December 2018 10:41, Yoshimo wrote:

Re: Kafka component Spring boot auto configuration

2018-12-05 Thread Yoshimo
Hey Claus, I think that you misread my previous email. The value.deserializer = class org.apache.kafka.common.serialization.StringDeserializer line is the logging output of the Kafka consumer being created by Camel when I try adding the Spring Boot configuration. What I actually add to my yaml

Re: Kafka component Spring boot auto configuration

2018-12-05 Thread Claus Ibsen
On Wed, Dec 5, 2018 at 12:56 PM Yoshimo wrote: > > Here is what I add to my yaml file: > > camel.component.kafka.configuration.value-deserializer: > com.openbet.platform.pricepublisher.serde.SportsEventDeserializer > > and here is my route: > > from("kafka:prices?brokers={{kafka.s

Re: Kafka component Spring boot auto configuration

2018-12-05 Thread Yoshimo
Here is what I add to my yaml file: camel.component.kafka.configuration.value-deserializer: com.openbet.platform.pricepublisher.serde.SportsEventDeserializer and here is my route: from("kafka:prices?brokers={{kafka.servers}}") .convertBodyTo(DBMod

Re: Kafka component Spring boot auto configuration

2018-12-05 Thread Yoshimo
Hello Claus, thank you for looking into this. Camel: 2.23.0 Kafka: 2.0.0 SB: 2.1.0.RELEASE I am also attaching my pom if you want to have a look. Thank you, Yiannis ‐‐‐ Original Message ‐‐‐ On Wednesday, 5 December 2018 12:15, Claus Ibsen wrote: > Hi > > What version of Camel, Kafka

Re: Kafka component Spring boot auto configuration

2018-12-05 Thread Claus Ibsen
Hi What version of Camel, Kafka and SB are you using? On Tue, Dec 4, 2018 at 8:59 AM Yoshimo wrote: > > Hello Camel users, > > I am trying to auto configure the Kafka component using spring boot, but the > configuration is not working. More specifically I am following this page: > > https://git

Kafka component Spring boot auto configuration

2018-12-04 Thread Yoshimo
Hello Camel users, I am trying to auto configure the Kafka component using spring boot, but the configuration is not working. More specifically I am following this page: https://github.com/apache/camel/blob/master/components/camel-kafka/src/main/docs/kafka-component.adoc and I am trying to set