rawproduce

package
v0.4.47 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2023 License: MIT Imports: 3 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error struct {
	Err error
}

func NewError

func NewError(err error) *Error

func (*Error) Error

func (e *Error) Error() string

func (*Error) Unwrap

func (e *Error) Unwrap() error

type Request

type Request struct {
	TransactionalID string         `kafka:"min=v3,max=v8,nullable"`
	Acks            int16          `kafka:"min=v0,max=v8"`
	Timeout         int32          `kafka:"min=v0,max=v8"`
	Topics          []RequestTopic `kafka:"min=v0,max=v8"`
}

func (*Request) ApiKey

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

func (*Request) Broker

func (r *Request) Broker(cluster protocol.Cluster) (protocol.Broker, error)

func (*Request) HasResponse

func (r *Request) HasResponse() bool

func (*Request) TypeKey

func (r *Request) TypeKey() protocol.OverrideTypeKey

type RequestPartition

type RequestPartition struct {
	Partition int32                 `kafka:"min=v0,max=v8"`
	RecordSet protocol.RawRecordSet `kafka:"min=v0,max=v8"`
}

type RequestTopic

type RequestTopic struct {
	Topic      string             `kafka:"min=v0,max=v8"`
	Partitions []RequestPartition `kafka:"min=v0,max=v8"`
}

Jump to

Keyboard shortcuts

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