conduktor.io ↗

Kafka ExpireDelegationToken Request Wire Format v1 — Binary Protocol Layout

What is ExpireDelegationToken?

Immediately revokes a delegation token, for example when a worker is compromised or a job completes. Setting expiryTimePeriodMs to -1 expires the token instantly.

Related Errors

DELEGATION_TOKEN_EXPIRED · DELEGATION_TOKEN_NOT_FOUND · DELEGATION_TOKEN_OWNER_MISMATCH · DELEGATION_TOKEN_REQUEST_NOT_ALLOWED

Wire Diagram

Request Header
message_size int32 · 4B
api_key int16 · 2B
api_version int16 · 2B
correlation_id int32 · 4B
client_id string
ExpireDelegationTokenRequest v1
Hmac bytes
ExpiryTimePeriodMs int64 · 8B

Schema & Example

Schema
{
  "Hmac": bytes,
  "ExpiryTimePeriodMs": int64
}
Example
{
  "Hmac": "<binary>",
  "ExpiryTimePeriodMs": 0
}