OffsetCommit

package
v0.0.22 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2020 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRequest

func NewRequest(group, topic string, partition int32, offset, retentionMs int64) *api.Request

Types

type Partition

type Partition struct {
	PartitionIndex   int32
	CommitedOffset   int64
	CommitedMetadata string
}

type PartitionResponse

type PartitionResponse struct {
	PartitionIndex int32
	ErrorCode      int16
}

type Request

type Request struct {
	GroupId         string
	GenerationId    int32
	MemberId        string
	RetentionTimeMs int64
	Topics          []Topic
}

type Response

type Response struct {
	Topics []TopicResponse
}

type Topic

type Topic struct {
	Name       string
	Partitions []Partition
}

type TopicResponse

type TopicResponse struct {
	Name       string
	Partitions []PartitionResponse
}

Jump to

Keyboard shortcuts

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