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.
| Version | Kafka | Changes |
|---|---|---|
| RenewDelegationTokenRequest | ||
| v1 | 2.2 | is the same as version 0. |
| v2 | 2.5 | ~ Flexible encoding enabled FLEXIBLE adds flexible version support |
| RenewDelegationTokenResponse | ||
| v1 | 2.2 | on quota violation, brokers send out responses before throttling. |
| v2 | 2.5 | ~ Flexible encoding enabled FLEXIBLE adds flexible version support |