incrementalalterconfigs

package
v0.0.0-...-b8bb914 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Request

type Request struct {
	Resources    []RequestResource `kafka:"min=v0,max=v0"`
	ValidateOnly bool              `kafka:"min=v0,max=v0"`
}

Detailed API definition: https://kafka.apache.org/protocol#The_Messages_IncrementalAlterConfigs

func (*Request) ApiKey

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

func (*Request) Broker

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

type RequestConfig

type RequestConfig struct {
	Name            string `kafka:"min=v0,max=v0"`
	ConfigOperation int8   `kafka:"min=v0,max=v0"`
	Value           string `kafka:"min=v0,max=v0,nullable"`
}

type RequestResource

type RequestResource struct {
	ResourceType int8            `kafka:"min=v0,max=v0"`
	ResourceName string          `kafka:"min=v0,max=v0"`
	Configs      []RequestConfig `kafka:"min=v0,max=v0"`
}

type Response

type Response struct {
	ThrottleTimeMs int32                   `kafka:"min=v0,max=v0"`
	Responses      []ResponseAlterResponse `kafka:"min=v0,max=v0"`
}

func (*Response) ApiKey

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

type ResponseAlterResponse

type ResponseAlterResponse struct {
	ErrorCode    int16  `kafka:"min=v0,max=v0"`
	ErrorMessage string `kafka:"min=v0,max=v0,nullable"`
	ResourceType int8   `kafka:"min=v0,max=v0"`
	ResourceName string `kafka:"min=v0,max=v0"`
}

Jump to

Keyboard shortcuts

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