Andrzej Bialecki created SOLR-18411:
---------------------------------------
Summary: CrossDC Producer: KafkaProducerSink's KafkaConsumer gets
no security config
Key: SOLR-18411
URL: https://issues.apache.org/jira/browse/SOLR-18411
Project: Solr
Issue Type: Bug
Components: module - crossDC
Affects Versions: 9.10.1, 10.0
Reporter: Andrzej Bialecki
Assignee: Andrzej Bialecki
Unlike the initialization in {{KafkaCrossDcConsumer}} constructor, the instance
of {{KafkaConsumer}} created in {{KafkaProducerSink}} is created with a
configuration that doesn't get Kafka-related security properties - it's missing
a call to {{{}KafkaCrossDcConf.addSecurityProps{}}}.
This means that every declared {{SECURITY_CONFIG_PROPERTY}} (including
{{security.protocol}} and all {{ssl.*)}} is silently dropped from the
{{KafkaConsumer}} the sink builds for its topic-availability check. On a
secured cluster that client cannot connect, and the failure surfaces as an
unrelated topic-availability error.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]