addpartitionstotxn

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: MIT Imports: 1 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 {
	TransactionalID string         `kafka:"min=v0,max=v2|min=v3,max=v3,compact"`
	ProducerID      int64          `kafka:"min=v0,max=v3"`
	ProducerEpoch   int16          `kafka:"min=v0,max=v3"`
	Topics          []RequestTopic `kafka:"min=v0,max=v3"`
	// contains filtered or unexported fields
}

func (*Request) ApiKey

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

func (*Request) Transaction

func (r *Request) Transaction() string

type RequestTopic

type RequestTopic struct {
	Name       string  `kafka:"min=v0,max=v2|min=v3,max=v3,compact"`
	Partitions []int32 `kafka:"min=v0,max=v3"`
	// contains filtered or unexported fields
}

type Response

type Response struct {
	ThrottleTimeMs int32            `kafka:"min=v0,max=v3"`
	Results        []ResponseResult `kafka:"min=v0,max=v3"`
	// contains filtered or unexported fields
}

func (*Response) ApiKey

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

type ResponsePartition

type ResponsePartition struct {
	PartitionIndex int32 `kafka:"min=v0,max=v3"`
	ErrorCode      int16 `kafka:"min=v0,max=v3"`
	// contains filtered or unexported fields
}

type ResponseResult

type ResponseResult struct {
	Name    string              `kafka:"min=v0,max=v2|min=v3,max=v3,compact"`
	Results []ResponsePartition `kafka:"min=v0,max=v3"`
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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