codehaus


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Kafka component Spring boot auto configuration


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 <claus.ibsen@xxxxxxxxx> wrote:

> Hi
>
> What version of Camel, Kafka and SB are you using?
>
> On Tue, Dec 4, 2018 at 8:59 AM Yoshimo yoshimo@xxxxxxxxxxxxxx.invalid 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://github.com/apache/camel/blob/master/components/camel-kafka/src/main/docs/kafka-component.adoc
> > and I am trying to set this configuration in my yaml file:
> > camel.component.kafka.configuration.value-deserializer
> > However the default deserializer is used when I consume from the Kafka topic. If I specify the deserializer in the Kafka route then it works as expected. Also I have defined the configuration camel.springboot.name in my yaml file and I can see that it is picked up normally. Are there any configurations that enable this functionality and I am missing?
> > Thank you,
> > Yiannis
>
> --
>
> Claus Ibsen
>
> ------------
>
> http://davsclaus.com @davsclaus
> Camel in Action 2: https://www.manning.com/ibsen2