kafka cmd with ssl

set PATH=C:\Program Files\Java\jdk1.8.0_201\bin;
@call kafka-consumer-groups.bat --bootstrap-server localhost:9092 --describe --group test-uat --command-config client-ssl.properties
pause

 

 

client-ssl.properties

bootstrap.servers=localhost:9092
security.protocol=SSL
ssl.truststore.location=C:/cacerts/UAT_cacerts.jks
ssl.truststore.password=changeit

 

https://stackoverflow.com/questions/57780477/kafka-consumer-group-script-to-see-all-consumer-group-not-working

 

posted @ 2020-02-28 12:45  tonggc1668  阅读(187)  评论(0编辑  收藏  举报