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

Variables

This section is empty.

Functions

This section is empty.

Types

type FetchAbortedTransaction

type FetchAbortedTransaction struct {
	ProducerID  int64
	FirstOffset int64
}

type FetchForgottenTopicData

type FetchForgottenTopicData struct {
	Name       string
	Partitions []int32
}

type FetchPartitionRequest

type FetchPartitionRequest struct {
	Partition          int32
	CurrentLeaderEpoch int32
	FetchOffset        int64
	LogStartOffset     int64
	PartitionMaxBytes  int32
}

type FetchPartitionResponse

type FetchPartitionResponse struct {
	PartitionIndex       int32
	ErrCode              errors.KafkaError
	HighWaterMark        int64
	LastStableOffset     int64
	LogStartOffset       int64
	AbortedTransactions  []FetchAbortedTransaction
	PreferredReadReplica int32
	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
	MaxBytes            int32
	IsolationLevel      int8
	SessionID           int32
	SessionEpoch        int32
	Topics              []FetchTopicRequest
	ForgottenTopicsData []FetchForgottenTopicData
	RackID              string
}

func (*Request) Version

func (r *Request) Version() int16

type Response

type Response struct {
	ThrottleDuration time.Duration
	ErrCode          errors.KafkaError
	SessionID        int32
	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