conduktor.io ↗

Kafka ExpireDelegationToken Response 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

Response Header
message_size int32 · 4B
correlation_id int32 · 4B
ExpireDelegationTokenResponse v1
ErrorCode int16 · 2B
ExpiryTimestampMs int64 · 8B
ThrottleTimeMs int32 · 4B

Schema & Example

Schema
{
  "ErrorCode": int16,
  "ExpiryTimestampMs": int64,
  "ThrottleTimeMs": int32
}
Example
{
  "ErrorCode": 0,
  "ExpiryTimestampMs": 0,
  "ThrottleTimeMs": 0
}