quarkus icon indicating copy to clipboard operation
quarkus copied to clipboard

Allows the Kafka client to be configured using the TLS registry

Open cescoffier opened this issue 1 year ago • 1 comments

Description

Allows the Kafka client to be configured with the TLS registry (for the TLS aspect of it).

Basically, when kafka.tls-configuration-name is set, we need to locate the TLS configuration from the registry and set:

security.protocol=SSL
ssl.truststore.location=/var/private/ssl/kafka.client.truststore.jks  
ssl.truststore.password=test1234. # Trust store password
ssl.keystore.location=/var/private/ssl/kafka.client.keystore.jks  
ssl.keystore.password=test1234 # Key store password
ssl.key.password=test1234 # Alias password

Unfortunately, the KAfka configuration only accepts files. This means we would need to extract these files from the configuration and cannot use the already processed KeyStore instances.

Implementation ideas

No response

cescoffier avatar Jun 27 '24 07:06 cescoffier

/cc @alesj (kafka), @ozangunalp (kafka), @radcortez (config)

quarkus-bot[bot] avatar Jun 27 '24 07:06 quarkus-bot[bot]