1

I am trying to set up acl on Apache Kafka topics through Java. I came across the setAcl() method present in Kafka admin client. But not sure how to use it. I have a Kafka cluster set up with 3 brokers and acl is applied on it ( server side ).

I need to implement it in java on client side ( I have the required client certificates ). Please Note that I need help with the java code ( not by using shell script)

ishita07
  • 37
  • 7
  • You can take reference from here to understand. https://github.com/Symantec/kafka-security-0.9 – P3arl Jan 06 '20 at 06:15
  • @P3arl : I don't see the acl implementation part in this link – ishita07 Jan 06 '20 at 06:21
  • Refer to this doc... It specifies the method and classes required to use the AdminClient ans create ACL's using it. https://kafka.apache.org/0110/javadoc/org/apache/kafka/clients/admin/KafkaAdminClient.html – Fatema Khuzaima Sagar Jan 06 '20 at 08:07

0 Answers0