v11

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

Variables

This section is empty.

Functions

This section is empty.

Types

type FetchPartitionRequest

type FetchPartitionRequest struct {
	Partition         int32
	FetchOffset       int64
	PartitionMaxBytes int32
}

type FetchPartitionResponse

type FetchPartitionResponse struct {
	PartitionIndex int32
	ErrCode        errors.KafkaError
	HighWaterMark  int64
	Records        []byte
}

type FetchTopicRequest

type FetchTopicRequest struct {
	Name       string
	Partitions []FetchPartitionRequest
}

type FetchTopicResponse

type FetchTopicResponse struct {
	Topic      string
	Partitions []FetchPartitionResponse
}

type Request

type Request struct {
	MaxWait  time.Duration
	MinBytes int32
	Topics   []FetchTopicRequest
}

func (*Request) Version

func (r *Request) Version() int16

type Response

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

func (*Response) Version

func (r *Response) Version() int16

Jump to

Keyboard shortcuts

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