My version of kafka is 0.9.0.1, and I have two brokers: 192.168.1.100, 192.168.1.101, which use ssl for authentication and encryption.
I had a topic called test09, and the ip client was 192.168.1.102
When I add acl with command line interface as follows:
bin/kafka-acls.sh --authorizer-properties zookeeper.connect=localhost:2181 --add --deny-principal User:* --deny-host 192.168.1.102 --operation Read --topic test09
a consumer with 192.168.1.102 can still receive data.
Can someone tell me how to use ACL in kafka?
source share