describeclientquotas

package
v0.4.47 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2023 License: MIT Imports: 1 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Component

type Component struct {
	EntityType string `kafka:"min=v0,max=v1"`
	MatchType  int8   `kafka:"min=v0,max=v1"`
	Match      string `kafka:"min=v0,max=v1,nullable"`
	// contains filtered or unexported fields
}

type Entity

type Entity struct {
	EntityType string `kafka:"min=v0,max=v0|min=v1,max=v1,compact"`
	EntityName string `kafka:"min=v0,max=v0,nullable|min=v1,max=v1,nullable,compact"`
	// contains filtered or unexported fields
}

type Request

type Request struct {
	Components []Component `kafka:"min=v0,max=v1"`
	Strict     bool        `kafka:"min=v0,max=v1"`
	// contains filtered or unexported fields
}

func (*Request) ApiKey

func (r *Request) ApiKey() protocol.ApiKey

func (*Request) Broker

func (r *Request) Broker(cluster protocol.Cluster) (protocol.Broker, error)

type Response

type Response struct {
	ThrottleTimeMs int32            `kafka:"min=v0,max=v1"`
	ErrorCode      int16            `kafka:"min=v0,max=v1"`
	ErrorMessage   string           `kafka:"min=v0,max=v0,nullable|min=v1,max=v1,nullable,compact"`
	Entries        []ResponseQuotas `kafka:"min=v0,max=v1"`
	// contains filtered or unexported fields
}

func (*Response) ApiKey

func (r *Response) ApiKey() protocol.ApiKey

type ResponseQuotas

type ResponseQuotas struct {
	Entities []Entity `kafka:"min=v0,max=v1"`
	Values   []Value  `kafka:"min=v0,max=v1"`
	// contains filtered or unexported fields
}

type Value

type Value struct {
	Key   string  `kafka:"min=v0,max=v0|min=v1,max=v1,compact"`
	Value float64 `kafka:"min=v0,max=v1"`
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL