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

Add convenience command to give a principal producer access to a certain topic #1175

Closed
craicoverflow opened this issue Oct 4, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request feature/kafka-acl priority/important-soon Must be staffed and worked on either currently or very soon—ideally in time for the next release. Im

Comments

@craicoverflow
Copy link
Contributor

craicoverflow commented Oct 4, 2021

Feature or problem description

When I'm configuring my ACLs of my Kafka topic

I want to give a principal producer access to a certain topic in single command

So I don't have to set the 3 required ACLs to produce to a topic (WRITE, DESCRIBE, CREATE) individually.

The Kafka Bin Scripts have a convenience command to set the required allowed operations on the topic resource (WRITE, DESCRIBE, CREATE) if you want to allow a principal to produce to a topic. This allows users to do common tasks (allowing a principal to produce to a topic) in a single command, without the need for the user to have to know what operations need to be allowed on the resource.

Proposed solution

$ rhoas kafka acl producer --user <principal-id> --topic-prefix rhoas
@craicoverflow craicoverflow added enhancement New feature or request kafka-acl labels Oct 4, 2021
@craicoverflow craicoverflow added this to the Kafka ACL commands milestone Oct 4, 2021
@craicoverflow craicoverflow added priority/important-soon Must be staffed and worked on either currently or very soon—ideally in time for the next release. Im and removed needs-triage labels Oct 4, 2021
@rkpattnaik780
Copy link
Contributor

Fixed by #1179

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature/kafka-acl priority/important-soon Must be staffed and worked on either currently or very soon—ideally in time for the next release. Im
Projects
None yet
Development

No branches or pull requests

4 participants