Can any body help the command to list the kafka topics using SSl .
I have got consumer SSL config and producer SSL config commands but dint find the way to list Kafka topics using SSl.
SSL Overview By default, Apache Kafka sends all data as clear text and without any authentication. First of all, we can configure SSL for encryption between the broker and the client. This, by default, requires one-way authentication using public key encryption where the client authenticates the server certificate.
Configure the ports for the Apache Kafka® brokers to listen for client and inter-broker TLS ( SSL ) connections. You should configure listeners , and optionally, advertised. listeners if the value is different from listeners .
You should be able to do that by using the --bootstrap-server
option, so specifying Kafka brokers in the bootstrap list, and then the --command-config
providing a property file with the admin client configuration parameters.
Inside that properties file you should specify ssl.truststore.location
and ssl.truststore.password
(eventually ssl.truststore.type
) as you normally do for producer and consumer clients.
If TLS client authentication is enabled, you have to set ssl.keystore.location
and ssl.keystore.password
as well.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With