Jake Mehring created CAMEL-19691:
------------------------------------

             Summary: camel-kafka - sslKeystorePassword should be allowed to be 
blank
                 Key: CAMEL-19691
                 URL: https://issues.apache.org/jira/browse/CAMEL-19691
             Project: Camel
          Issue Type: Bug
          Components: camel-kafka
    Affects Versions: 3.21.0
            Reporter: Jake Mehring


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 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