...

Text file src/github.com/twmb/franz-go/generate/definitions/39_renew_delegation_token

Documentation: github.com/twmb/franz-go/generate/definitions

     1// RenewDelegationTokenRequest is a request to renew a delegation token that
     2// has not yet hit its max timestamp. Note that a client using a token cannot
     3// renew its own token.
     4RenewDelegationTokenRequest => key 39, max version 2, flexible v2+
     5  // HMAC is the HMAC of the token to be renewed.
     6  HMAC: bytes
     7  // RenewTimeMillis is how long to renew the token for. If -1, Kafka uses its
     8  // delegation.token.max.lifetime.ms.
     9  RenewTimeMillis: int64
    10
    11// RenewDelegationTokenResponse is a response to a RenewDelegationTokenRequest.
    12RenewDelegationTokenResponse =>
    13  // ErrorCode is any error that caused the request to fail.
    14  ErrorCode: int16
    15  // ExpiryTimestamp is the millisecond timestamp this token will expire. The
    16  // token can be renewed up to MaxTimestamp, past which point, it will be
    17  // invalid. The Kafka default is 24h.
    18  ExpiryTimestamp: int64
    19  ThrottleMillis(1)

View as plain text