You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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:
The text was updated successfully, but these errors were encountered: