Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kafka issue: group-based permission ineffective for topic metadata access control #7

Open
1 task
cdanger opened this issue Dec 21, 2018 · 0 comments
Open
1 task
Labels

Comments

@cdanger
Copy link
Member

cdanger commented Dec 21, 2018

Group-based permission does not work for topic metadata/offset access control with Kafka Java-based clients.

Affects Kafka 2.0.0.

Behavior: when calling poll(...) method, Java KafkaConsumer instances use DESCRIBE operation on topics to fetch topic metadata, before joining their consumer group (READ GROUP X) and before reading topic data. Therefore, the Authorizer is unable to know the consumer group ID at this point, and therefore unable to use group-based permissions for controlling access to the topic metadata. (It works as expected for topic data because the Kafka client joins its consumer group before reading the data.)

TODO:

  • Report this security limitation to Kafka developers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant