...

Text file src/github.com/twmb/franz-go/generate/definitions/48_describe_client_quotas

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

     1// DescribeClientQuotasRequest, proposed in KIP-546 and introduced with Kafka 2.6.0,
     2// provides a way to describe client quotas.
     3DescribeClientQuotasRequest => key 48, max version 1, flexible v1+
     4  // Components is a list of match filters to apply for describing quota entities.
     5  Components: [=>]
     6    // EntityType is the entity component type that this filter component
     7    // applies to; some possible values are "user" or "client-id".
     8    EntityType: string
     9    // MatchType specifies how to match an entity,
    10    // with 0 meaning match on the name exactly,
    11    // 1 meaning match on the default name,
    12    // and 2 meaning any specified name.
    13    MatchType: enum-QuotasMatchType
    14    // Match is the string to match against, or null if unused for the given
    15    // match type.
    16    Match: nullable-string
    17  // Strict signifies whether matches are strict; if true, the response
    18  // excludes entities with unspecified entity types.
    19  Strict: bool
    20
    21// DescribeClientQuotasResponse is a response for a DescribeClientQuotasRequest.
    22DescribeClientQuotasResponse =>
    23  ThrottleMillis
    24  // ErrorCode is any error for the request.
    25  ErrorCode: int16
    26  // ErrorMessage is an error message for the request, or null if the request succeeded.
    27  ErrorMessage: nullable-string
    28  // Entries contains entities that were matched.
    29  Entries: nullable[=>Entry]
    30    // Entity contains the quota entity components being described.
    31    Entity: [=>]
    32      // Type is the entity type.
    33      Type: string
    34      // Name is the entity name, or null if the default.
    35      Name: nullable-string
    36    // Values are quota values for the entity.
    37    Values: [=>]
    38      // Key is the quota configuration key.
    39      Key: string
    40      // Value is the quota configuration value.
    41      Value: float64

View as plain text