consumer

package
v0.4.35 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2022 License: MIT Imports: 0 Imported by: 9

Documentation

Index

Constants

View Source
const MaxVersionSupported = 1

Variables

This section is empty.

Functions

This section is empty.

Types

type Assignment

type Assignment struct {
	Version            int16            `kafka:"min=v0,max=v1"`
	AssignedPartitions []TopicPartition `kafka:"min=v0,max=v1"`
	UserData           []byte           `kafka:"min=v0,max=v1,nullable"`
}

type Subscription

type Subscription struct {
	Version         int16            `kafka:"min=v0,max=v1"`
	Topics          []string         `kafka:"min=v0,max=v1"`
	UserData        []byte           `kafka:"min=v0,max=v1,nullable"`
	OwnedPartitions []TopicPartition `kafka:"min=v1,max=v1"`
}

type TopicPartition

type TopicPartition struct {
	Topic      string  `kafka:"min=v0,max=v1"`
	Partitions []int32 `kafka:"min=v0,max=v1"`
}

Jump to

Keyboard shortcuts

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