conduktor.io ↗

Kafka DescribeDelegationToken Request Wire Format v2 — Binary Protocol Layout

What is DescribeDelegationToken?

Lists active delegation tokens, optionally filtered by owner. Operators use this to find tokens that weren't properly revoked after jobs completed and to verify expiry times.

Related Errors

DELEGATION_TOKEN_AUTH_DISABLED · DELEGATION_TOKEN_REQUEST_NOT_ALLOWED

Wire Diagram

Request Header · flexible
message_size int32 · 4B
api_key int16 · 2B
api_version int16 · 2B
correlation_id int32 · 4B
client_id string (compact)
tagged var
DescribeDelegationTokenRequest v2
Owners? array
tagged var
PrincipalType string (compact)
PrincipalName string (compact)
tagged var

Schema & Example

Schema
{
  "Owners": [{
      "PrincipalType": string,
      "PrincipalName": string
  }]?
}
Example
{
  "Owners": [{
      "PrincipalType": "User:alice",
      "PrincipalName": "User:alice"
  }]?
}