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

Claus Ibsen updated CAMEL-19691:
--------------------------------
    Fix Version/s: 3.21.1
                   4.0.0

> camel-kafka - Allow sslKeystorePassword to be blank
> ---------------------------------------------------
>
>                 Key: CAMEL-19691
>                 URL: https://issues.apache.org/jira/browse/CAMEL-19691
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-kafka
>    Affects Versions: 3.21.0
>            Reporter: Jake Mehring
>            Priority: Minor
>             Fix For: 3.21.1, 4.0.0
>
>
> Currently if you try to load a keystore with a blank password camel overrides 
> the blank to be null. You can work around this by forcing the blank into the 
> kafka config by setting it via "additionalProperties.ssl.keystore.password". 
>  
> Relevant Code:
> [Producer 
> Config|https://github.com/apache/camel/blob/main/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/KafkaConfiguration.java#L435]
> [Consumer 
> Config|https://github.com/apache/camel/blob/main/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/KafkaConfiguration.java#L516]
>  
> Solution is probably just to use addPropertyIfNotNull instead of 
> addPropertyIfNotEmpty for this property.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to