Jake Mehring created CAMEL-18146:
------------------------------------
Summary: camel-kafka - ssl.endpoint.identification.algorithm
should be allowed to be an empty string
Key: CAMEL-18146
URL: https://issues.apache.org/jira/browse/CAMEL-18146
Project: Camel
Issue Type: Bug
Components: camel-kafka
Affects Versions: 3.17.0
Reporter: Jake Mehring
This property was changed from being defaulted if null to being defaulted if
null or empty in the 3.17 release. Currently the only way to disable server
host name verification is to pass the Kafka consumer an empty string which is
impossible after that change.
Relevant Code:
https://github.com/apache/camel/blob/main/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/KafkaConfiguration.java#L436
Relevant Docs:
[https://docs.confluent.io/platform/current/kafka/authentication_ssl.html#optional-settings]
Solution is just to revert addPropertyIfNotEmpty to be addPropertyIfNotNull for
this property.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)