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