Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Multiple SSL endpoints with Kafka

avatar
Rising Star

I want to set up Kafka like so:

SASL_SSL://locahost:9092,SSL://localhost,9093

Where the keystore's and truststore's are different for each endpoint.

Is this possible at the moment?

1 ACCEPTED SOLUTION

avatar
Explorer

From version 0.10.2.0 it is supported to use different keystores

You need to set config:

listener.name.<CLIENTNAME IN LOWERCASE>.ssl.keystore.location

If this client does not defined kafka will fallback to the default config:

ssl.keystore.location

View solution in original post

2 REPLIES 2

avatar
Explorer

From version 0.10.2.0 it is supported to use different keystores

You need to set config:

listener.name.<CLIENTNAME IN LOWERCASE>.ssl.keystore.location

If this client does not defined kafka will fallback to the default config:

ssl.keystore.location

avatar
Rising Star

Perfect thanks!