Skip to content

kafka.admin: Fix DESCRIBE_TOKENS ACLOperation enum; support authorized_operations=None#2731

Merged
dpkp merged 3 commits intomasterfrom
dpkp/bitfield-null-sentinel
Mar 10, 2026
Merged

kafka.admin: Fix DESCRIBE_TOKENS ACLOperation enum; support authorized_operations=None#2731
dpkp merged 3 commits intomasterfrom
dpkp/bitfield-null-sentinel

Conversation

@dpkp
Copy link
Owner

@dpkp dpkp commented Mar 10, 2026

BitField {31} (-2147483648) is the sentinel value for None / null. It means that the broker has not sent any information regarding authorized ops. Contrast with an empty set, which means that the user has zero authorized operations.

Also fixup DESCRIBE_TOKENS enum value (14).

@dpkp dpkp merged commit de60469 into master Mar 10, 2026
19 checks passed
@dpkp dpkp deleted the dpkp/bitfield-null-sentinel branch March 10, 2026 18:52
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

Successfully merging this pull request may close these issues.

1 participant