[
https://issues.apache.org/jira/browse/CAMEL-19691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17750433#comment-17750433
]
Claus Ibsen commented on CAMEL-19691:
-------------------------------------
[~orpiske] here is also an easy one, but we need it before 4.0 GA
> 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
> Labels: easy
> 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)