consumer

package
v0.0.0-...-2a61a3c Latest Latest
Warning

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

Go to latest
Published: May 13, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SeqConsumer

type SeqConsumer struct {
	ConsumerGrp sarama.ConsumerGroup
	// contains filtered or unexported fields
}

SeqConsumer represents the consumer that recieves the sequenced messages

func NewConsumer

func NewConsumer(cfg *config.Config) (*SeqConsumer, error)

NewConsumer returns a new OrderedSeqConsumer

func (*SeqConsumer) Run

func (sc *SeqConsumer) Run() error

Run starts the consumer

Jump to

Keyboard shortcuts

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