Quarkus warns when using Kafka

229 views
Skip to first unread message

Alex Soto Bueno

unread,
Nov 20, 2019, 11:54:34 AM11/20/19
to Quarkus Development mailing list
Hi mates I have created a simple Kafka application with the next configuration:

kafka.bootstrap.servers=localhost:9092


mp
.messaging.outgoing.songs.connector=smallrye-kafka
mp
.messaging.outgoing.songs.topic=songs
mp
.messaging.outgoing.songs.key.serializer=org.apache.kafka.common.serialization.IntegerSerializer
mp
.messaging.outgoing.songs.value.serializer=org.apache.kafka.common.serialization.StringSerializer


mp
.messaging.outgoing.played-songs.connector=smallrye-kafka
mp
.messaging.outgoing.played-songs.topic=played-songs
mp
.messaging.outgoing.played-songs.key.serializer=org.apache.kafka.common.serialization.IntegerSerializer
mp
.messaging.outgoing.played-songs.value.serializer=org.apache.kafka.common.serialization.StringSerializer

Everything works as expected but I do not know why I am getting these warning in the console:

2019-11-20 17:45:38,978 WARN  [org.apa.kaf.cli.pro.ProducerConfig] (main) The configuration 'channel-name' was supplied but isn't a known config.
2019-11-20 17:45:38,986 WARN  [org.apa.kaf.cli.pro.ProducerConfig] (main) The configuration 'connector' was supplied but isn't a known config.
2019-11-20 17:45:38,986 WARN  [org.apa.kaf.cli.pro.ProducerConfig] (main) The configuration 'topic' was supplied but isn't a known config.
2019-11-20 17:45:38,993 INFO  [org.apa.kaf.com.uti.AppInfoParser] (main) Kafka version: 2.2.1
2019-11-20 17:45:38,994 INFO  [org.apa.kaf.com.uti.AppInfoParser] (main) Kafka commitId: 55783d3133a5a49a
2019-11-20 17:45:39,043 INFO  [io.sma.rea.mes.kaf.KafkaSink] (main) Setting bootstrap.servers to localhost:9092

And I am getting them twice. What am I doing "wrong" to make appear these warnings in the console?

clement escoffier

unread,
Nov 21, 2019, 10:06:59 AM11/21/19
to Quarkus Development mailing list, asot...@redhat.com
Hello,

It’s just because we pass the configuration to the kafka client as we get it (without removing the reactive messaging specifics). We could fix that easily. Can you open an issue in SmallRye Reactive Messaging (PRs are also welcome).

Clement
--
You received this message because you are subscribed to the Google Groups "Quarkus Development mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to quarkus-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/quarkus-dev/6021678f-6dc5-4d90-93ff-ffdaeda31cb9%40googlegroups.com.

Andy Damevin

unread,
Dec 16, 2019, 8:53:14 AM12/16/19
to Quarkus Development mailing list
Reply all
Reply to author
Forward
0 new messages