kafka-client-docker
This is project that dockerize kafka cli
How to configure for your use case
cp users_jaas.conf.example users_jaas.conf
cp client_sasl.properties.example client_sasl.properties
[ Connecting aws MSK ] Please configure users_jaas.conf
and client_sasl.properties
files with respect to your need. More Info here
How to run
docker-compose run kafka-client /bin/sh
Example
docker-compose run kafka-client /bin/sh
./bin/kafka-topics.sh --bootstrap-server=hostServer --command-config client_sasl.properties --list