[
https://issues.apache.org/jira/browse/CAMEL-17615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17511279#comment-17511279
]
Otavio Rodolfo Piske commented on CAMEL-17615:
----------------------------------------------
This seems to be a known problem in Kafka:
* https://issues.apache.org/jira/browse/KAFKA-6793
* https://issues.apache.org/jira/browse/KAFKA-7509
* [https://github.com/apache/kafka/pull/5876]
>From my understanding of these issues, it's not that the config is unknown,
>but that it is unused. The log message is probably misleading.
For now, I think we are fine with just testing if the value is not empty before
setting it in the properties.
> 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.17.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)