Details
Description
If you create a component-level KafkaConfiguration, and set SslContextParameters on it that includes a truststore password, then when creating consumer or producer properties, the KafkaConfiguration puts the truststore password into the keystore password field, resulting in errors such as:
Caused by: org.apache.kafka.common.KafkaException: SSL key store is not specified, but key store password is specified.
{{ at org.apache.kafka.common.security.ssl.SslFactory.createKeystore(SslFactory.java:283)}}
{{ at org.apache.kafka.common.security.ssl.SslFactory.configure(SslFactory.java:126)}}
{{ at org.apache.kafka.common.network.SaslChannelBuilder.configure(SaslChannelBuilder.java:149)}}
PR available here: