conduktor.io ↗

Kafka RenewDelegationToken Response Wire Format v1 — Binary Protocol Layout

What is RenewDelegationToken?

Token holders call this before expiry to extend the token's lifetime, typically on a renewal thread. If renewal fails (e.g., the broker lost in-memory token state in older Kafka), the client must re-authenticate with primary credentials.

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
RenewDelegationTokenResponse 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
}