[ 
https://issues.apache.org/jira/browse/CAMEL-17615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17489530#comment-17489530
 ] 

Claus Ibsen commented on CAMEL-17615:
-------------------------------------

Yeah it seems its a bit weird we see so many WARNs when running the tests of 
camel-kafka.
Some tests may set special options but lets dig in and see why they are set and 
the WARNs are printed.

Kafka API comes with these config classes that has the known options and we are 
using those so ideally we should not see WARNs.
However one strange thing was one of the SALS options was using a broker config 
class - but that class javadoc says its a common for client too.

> camel-kafka: cleanup Kafka client warnings
> ------------------------------------------
>
>                 Key: CAMEL-17615
>                 URL: https://issues.apache.org/jira/browse/CAMEL-17615
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-kafka
>    Affects Versions: 3.11.5, 3.14.0
>            Reporter: Otavio Rodolfo Piske
>            Assignee: Otavio Rodolfo Piske
>            Priority: Minor
>             Fix For: 3.16.0
>
>
> There are several warnings about unrecognized configurations when the Kafka 
> client starts. We should clean them up. 
> For example:
>  
> {code:java}
> 2022-01-17 06:37:49.634 WARN 28548 --- [r-transactions]] 
> o.a.k.clients.consumer.ConsumerConfig : The configuration 
> 'specific.avro.reader' was supplied but isn't a known config.
> 2022-01-17 06:37:49.634 WARN 28548 --- [r-transactions]] 
> o.a.k.clients.consumer.ConsumerConfig : The configuration 
> 'specific.avro.reader' was supplied but isn't a known config.
> 2022-01-17 06:37:49.635 WARN 28548 --- [r-transactions]] 
> o.a.k.clients.consumer.ConsumerConfig : The configuration 
> 'sasl.kerberos.principal.to.local.rules' was supplied but isn't a known 
> config.
> 2022-01-17 06:37:49.635 WARN 28548 --- [r-transactions]] 
> o.a.k.clients.consumer.ConsumerConfig : The configuration 
> 'sasl.kerberos.principal.to.local.rules' was supplied but isn't a known 
> config.{code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to