v7

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 = 1

Variables

This section is empty.

Functions

This section is empty.

Types

type PartitionData

type PartitionData struct {
	Index   int32
	Records []byte
}

type PartitionResponse

type PartitionResponse struct {
	Index      int32
	ErrCode    errors.KafkaError
	BaseOffset int64
}

type ProduceResponse

type ProduceResponse struct {
	Name               string
	PartitionResponses []PartitionResponse
}

type Request

type Request struct {
	ACKs            int16
	TimeoutDuration time.Duration
	TopicData       []TopicData
}

func (*Request) Version

func (r *Request) Version() int16

type Response

type Response struct {
	Responses        []ProduceResponse
	ThrottleDuration time.Duration
}

func (*Response) Version

func (r *Response) Version() int16

type TopicData

type TopicData struct {
	Name          string
	PartitionData []PartitionData
}

Jump to

Keyboard shortcuts

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