[
https://issues.apache.org/jira/browse/CAMEL-17615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17489403#comment-17489403
]
Otavio Rodolfo Piske commented on CAMEL-17615:
----------------------------------------------
[~davsclaus] one thing that occurred to me is that some of these settings may
only be application under specific scenarios (ie.: specific avro reader is only
application in confluent platform, kerberos is only when using kerberos, etc).
I am wondering if:
# We would prefer to remove them and instruct users to use the
`additionalProperties` option to set them up (or use a custom client factory)
# Try to be "smart" and figure out automatically when each setting is
applicable or not.
IMHO, I'd go with option 1 and I'd let users handle the specific scenarios they
have. However, this would mean a larger change of the users because to make it
right, we would create a basic client and for everything else, we would let
users setup their own clients.
Any thoughts or preferences about this?
> 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)