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

Resource type TransactionalId is not implemented in ACLs #4838

Open
1 task done
GuillaumeWaignier opened this issue Sep 5, 2024 · 0 comments
Open
1 task done

Resource type TransactionalId is not implemented in ACLs #4838

GuillaumeWaignier opened this issue Sep 5, 2024 · 0 comments

Comments

@GuillaumeWaignier
Copy link

Description

There is no resource type for TransactionalId, accordingly the code
https://github.com/confluentinc/librdkafka/blob/v2.5.3/src/rdkafka_admin.c#L2829

Given the documentation, we can have 'describe' and 'write' operation on a resources type TransactionalId
https://docs.confluent.io/platform/current/security/authorization/acls/overview.html#transactional-id-resource-type-operations

Impact:

  1. When we list the ACLs on a cluster that have operations on a resources type TransactionalId, error log are generated.

  2. It is not possible to set/modify ACLs on a resource type TransactionalId using the admin client.

How to reproduce

It is not possible to as ACLs on a TransactionalId.
The tests only handle topic, group and brokers resource types:
https://github.com/confluentinc/librdkafka/blob/master/tests/0080-admin_ut.c#L1182
https://github.com/confluentinc/librdkafka/blob/master/tests/0081-admin.c#L3662

Checklist

IMPORTANT: We will close issues where the checklist has not been completed.

Please provide the following information:

  • librdkafka version (release number or git tag): <REPLACE with e.g., v0.10.5 or a git sha. NOT "latest" or "current">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant