sequencer

package
v0.0.0-rc5 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildLogMapPartitionToOffsetsRange

func BuildLogMapPartitionToOffsetsRange(changeItems [][]abstract.ChangeItem) string

BuildLogMapPartitionToOffsetsRange - is used only in logging

func BuildMapPartitionToOffsetsRange

func BuildMapPartitionToOffsetsRange(messages []QueueMessage) string

BuildMapPartitionToOffsetsRange - is used only in logging

func BuildPartitionOffsetLogLine

func BuildPartitionOffsetLogLine(messages []QueueMessage) string

BuildPartitionOffsetLogLine - is used only in logging

Types

type QueueMessage

type QueueMessage struct {
	Topic     string
	Partition int
	Offset    int64
}

type Sequencer

type Sequencer struct {
	// contains filtered or unexported fields
}

func NewSequencer

func NewSequencer() *Sequencer

func (*Sequencer) Pushed

func (s *Sequencer) Pushed(messages []QueueMessage) ([]QueueMessage, error)

func (*Sequencer) StartProcessing

func (s *Sequencer) StartProcessing(messages []QueueMessage) error

func (*Sequencer) ToStringRanges

func (s *Sequencer) ToStringRanges() string

func (*Sequencer) ToStringRangesWithTopic

func (s *Sequencer) ToStringRangesWithTopic() string

Jump to

Keyboard shortcuts

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