./bin/kafka-console-producer.sh --broker-list 10.162.0.6:32294 --topic my-topic
./bin/kafka-console-consumer.sh --bootstrap-server 10.162.0.6:32294 --topic my-topic --from-beginning
Am new to kafka. My kafka running on strimzi kubernetes operator deployed with Helm.
I created a topic called my-topic & am executing above 2 commands in two separate terminals. Whatever I type messages for a producer, I see them in response to the above consumer command!
Now I created 2 users, usera & userb with ACL, usera ACL is completely blocked to access topic another user userb has full ACL access to access Topic: my-topic.
To test that ACL i.e. if I run producer & consumer with usera then permission denied should show & if I run producer & consumer with another userb then should be able to access topic.
But Wanna know how to execute the above commands for a user?
or please suggest how to test the scenario.