You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2022/05/31 17:24:00 UTC

[jira] [Resolved] (CAMEL-18146) camel-kafka - ssl.endpoint.identification.algorithm should be allowed to be an empty string

     [ https://issues.apache.org/jira/browse/CAMEL-18146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-18146.
---------------------------------
    Resolution: Fixed

You can now use "none" or "false" to disable this

> 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
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 3.18.0
>
>
> 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)