File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -293,6 +293,7 @@ generation.
293293| [ KIP-361] ( https://cwiki.apache.org/confluence/display/KAFKA/KIP-361%3A+Add+Consumer+Configuration+to+Disable+Auto+Topic+Creation ) — Allow disable auto topic creation | 2.3 | Supported |
294294| [ KIP-368] ( https://cwiki.apache.org/confluence/display/KAFKA/KIP-368%3A+Allow+SASL+Connections+to+Periodically+Re-Authenticate ) — Periodically reauthenticate SASL | 2.2 | Supported |
295295| [ KIP-369] ( https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=89070828 ) — An always round robin produce partitioner | 2.4 | Supported |
296+ | [ KIP-373] ( https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=93324147 ) — Users can create delegation tokens for others | 3.3 | Supported |
296297| [ KIP-380] ( https://cwiki.apache.org/confluence/display/KAFKA/KIP-380%3A+Detect+outdated+control+requests+and+bounced+brokers+using+broker+generation ) — Inter-broker protocol changes | 2.2 | Supported |
297298| [ KIP-389] ( https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=89070828 ) — Group max size error | 2.2 | Supported |
298299| [ KIP-392] ( https://cwiki.apache.org/confluence/display/KAFKA/KIP-392%3A+Allow+consumers+to+fetch+from+closest+replica ) — Closest replica fetching w/ rack | 2.2 | Supported |
Original file line number Diff line number Diff line change 33// "types" of filters in this request: the resource filter and the entry
44// filter, with entries corresponding to users. The first three fields form the
55// resource filter, the last four the entry filter.
6- DescribeACLsRequest => key 29, max version 2 , flexible v2+
6+ DescribeACLsRequest => key 29, max version 3 , flexible v2+
77 // ResourceType is the type of resource to describe.
88 ResourceType: enum-ACLResourceType
99 // ResourceName is the name to filter out. For the CLUSTER resource type,
Original file line number Diff line number Diff line change 33//
44// See the DescribeACLsRequest documentation for more descriptions of what
55// valid values for the fields in this request are.
6- CreateACLsRequest => key 30, max version 2 , flexible v2+
6+ CreateACLsRequest => key 30, max version 3 , flexible v2+
77 Creations: [=>]
88 // ResourceType is the type of resource this acl entry will be on.
99 // It is invalid to use UNKNOWN or ANY.
Original file line number Diff line number Diff line change 11// DeleteACLsRequest deletes acls. This request works on filters the same way
22// that DescribeACLsRequest does. See DescribeACLsRequest for documentation of
33// the fields.
4- DeleteACLsRequest => key 31, max version 2 , flexible v2+
4+ DeleteACLsRequest => key 31, max version 3 , flexible v2+
55 // Filters are filters for acls to delete.
66 Filters: [=>]
77 ResourceType: enum-ACLResourceType
Original file line number Diff line number Diff line change 1111//
1212// Delegation tokens live inside of Kafka and use SASL SCRAM-SHA-256 for
1313// authorization.
14- CreateDelegationTokenRequest => key 38, max version 2, flexible v2+
14+ CreateDelegationTokenRequest => key 38, max version 3, flexible v2+
15+ // The principal type of the owner of the token. If null, this defaults
16+ // to the token request principal.
17+ OwnerPrincipalType: nullable-string // v3+
18+ // Principal name of the owner of the token. If null, this defaults to
19+ // the token request principal.
20+ OwnerPrincipalName: nullable-string // v3+
1521 // Renewers is a list of who can renew this delegation token. If empty, the
1622 // default is the principal (user) who created the token.
1723 Renewers: [=>]
@@ -33,6 +39,10 @@ CreateDelegationTokenResponse =>
3339 // PrincipalName is the name of the principal that granted this delegation
3440 // token.
3541 PrincipalName: string
42+ // The principal type of the requester of the token.
43+ TokenRequesterPrincipalType: string // v3+
44+ // The principal name of the requester token.
45+ TokenRequesterPrincipalName: string // v3+
3646 // IssueTimestamp is the millisecond timestamp this delegation token was
3747 // issued.
3848 IssueTimestamp: int64
Original file line number Diff line number Diff line change 11// DescribeDelegationTokenRequest is a request to describe delegation tokens.
2- DescribeDelegationTokenRequest => key 41, max version 2 , flexible v2+
2+ DescribeDelegationTokenRequest => key 41, max version 3 , flexible v2+
33 // Owners contains owners to describe delegation tokens for, or null for all.
44 // If non-null, only tokens created from a matching principal type, name
55 // combination are printed.
@@ -22,6 +22,10 @@ DescribeDelegationTokenResponse =>
2222 PrincipalType: string
2323 // PrincipalName is the principal name of who created this token.
2424 PrincipalName: string
25+ // The principal type of the requester of the token.
26+ TokenRequesterPrincipalType: string // v3+
27+ // The principal name of the requester token.
28+ TokenRequesterPrincipalName: string // v3+
2529 // IssueTimestamp is the millisecond timestamp of when this token was issued.
2630 IssueTimestamp: int64
2731 // ExpiryTimestamp is the millisecond timestamp of when this token will expire.
Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ ACLResourceType int8 (
5959 4: CLUSTER
6060 5: TRANSACTIONAL_ID
6161 6: DELEGATION_TOKEN
62+ 7: USER
6263)
6364
6465// ACLResourcePatternType is how an acl's ResourceName is understood.
@@ -101,6 +102,8 @@ ACLOperation int8 (
101102 10: DESCRIBE_CONFIGS
102103 11: ALTER_CONFIGS
103104 12: IDEMPOTENT_WRITE
105+ 13: CREATE_TOKENS
106+ 14: DESCRIBE_TOKENS
104107)
105108
106109//////////
You can’t perform that action at this time.
0 commit comments