Skip to content

Commit b1796cf

Browse files
committed
Update ACL enums: UNKNOWN, CREATE_TOKENS, DESCRIBE_TOKENS
1 parent 4d2e912 commit b1796cf

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

kafka/admin/acl_resource.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ class ACLOperation(IntEnum):
3030
The ANY value is only valid in a filter context
3131
"""
3232

33+
UNKNOWN = 0,
3334
ANY = 1,
3435
ALL = 2,
3536
READ = 3,
@@ -41,7 +42,9 @@ class ACLOperation(IntEnum):
4142
CLUSTER_ACTION = 9,
4243
DESCRIBE_CONFIGS = 10,
4344
ALTER_CONFIGS = 11,
44-
IDEMPOTENT_WRITE = 12
45+
IDEMPOTENT_WRITE = 12,
46+
CREATE_TOKENS = 13,
47+
DESCRIBE_TOKENS = 13
4548

4649

4750
class ACLPermissionType(IntEnum):
@@ -50,6 +53,7 @@ class ACLPermissionType(IntEnum):
5053
The ANY value is only valid in a filter context
5154
"""
5255

56+
UNKNOWN = 0,
5357
ANY = 1,
5458
DENY = 2,
5559
ALLOW = 3
@@ -63,6 +67,7 @@ class ACLResourcePatternType(IntEnum):
6367
https://cwiki.apache.org/confluence/display/KAFKA/KIP-290%3A+Support+for+Prefixed+ACLs
6468
"""
6569

70+
UNKNOWN = 0,
6671
ANY = 1,
6772
MATCH = 2,
6873
LITERAL = 3,

0 commit comments

Comments
 (0)