Q:

Kafka-topics --list using ssl

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.

A:

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.

