v8

package
v0.0.0-...-fcf41b5 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const Version int16 = 4

Variables

This section is empty.

Functions

This section is empty.

Types

type Brokers

type Brokers struct {
	ID   int32
	Host string
	Port int32
	Rack *string
}

type Partitions

type Partitions struct {
	ErrCode      errors.KafkaError
	Index        int32
	LeaderID     int32
	ReplicaNodes []int32
	ISRNodes     []int32
}

type Request

type Request struct {
	Topics                 []string
	AllowAutoTopicCreation bool
}

func (*Request) Version

func (r *Request) Version() int16

type Response

type Response struct {
	ThrottleDuration time.Duration
	Brokers          []Brokers
	ClusterID        *string
	ControllerID     int32
	Topics           []Topics
}

func (*Response) Version

func (r *Response) Version() int16

type Topics

type Topics struct {
	ErrCode    errors.KafkaError
	Name       string
	Internal   bool
	Partitions []Partitions
}

Jump to

Keyboard shortcuts

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