...

Text file src/github.com/twmb/franz-go/generate/definitions/49_alter_client_quotas

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

     1// AlterClientQuotaRequest, proposed in KIP-546 and introduced with Kafka 2.6.0,
     2// provides a way to alter client quotas.
     3AlterClientQuotasRequest => key 49, max version 1, flexible v1+
     4  // Entries are quota configuration entries to alter.
     5  Entries: [=>Entry]
     6    // Entity contains the components of a quota entity to alter.
     7    Entity: [=>]
     8      // Type is the entity component's type; e.g. "client-id", "user" or "ip".
     9      Type: string
    10      // Name is the name of the entity, or null for the default.
    11      Name: nullable-string
    12    // Ops contains quota configuration entries to alter.
    13    Ops: [=>]
    14      // Key is the quota configuration key to alter.
    15      Key: string
    16      // Value is the value to set; ignored if remove is true.
    17      Value: float64
    18      // Remove is whether the quota configuration value should be removed or set.
    19      Remove: bool
    20  // ValidateOnly is makes this request a dry-run; the alteration is validated
    21  // but not performed.
    22  ValidateOnly: bool
    23
    24// AlterClientQuotasResponse is a response to an AlterClientQuotasRequest.
    25AlterClientQuotasResponse =>
    26  ThrottleMillis
    27  // Entries contains results for the alter request.
    28  Entries: [=>Entry]
    29    // ErrorCode is the error code for an alter on a matched entity.
    30    ErrorCode: int16
    31    // ErrorMessage is an informative message if the alter on this entity failed.
    32    ErrorMessage: nullable-string
    33    // Entity contains the components of a matched entity.
    34    Entity: [=>]
    35      // Type is the entity component's type; e.g. "client-id" or "user".
    36      Type: string
    37      // Name is the name of the entity, or null for the default.
    38      Name: nullable-string

View as plain text