Created
September 28, 2016 11:14
-
-
Save coheigea/7865a232e6c79a2a868438763614e4af to your computer and use it in GitHub Desktop.
Authorization privileges for Apache Kafka
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[groups] | |
admin = admin_role | |
producer = describe_role, read_role, write_role | |
consumer = describe_role, read_role, describe_consumer_group_role, read_consumer_group_role | |
[roles] | |
admin_role = Host=*->Cluster=kafka-cluster->action=ALL | |
describe_role = Host=*->Topic=test->action=describe | |
read_role = Host=*->Topic=test->action=read | |
write_role = Host=*->Topic=test->action=write | |
describe_consumer_group_role = Host=*->ConsumerGroup=test-consumer-group->action=describe | |
read_consumer_group_role = Host=*->ConsumerGroup=test-consumer-group->action=read | |
[users] | |
Broker = admin | |
Service = producer | |
Client = consumer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment