consumer

package
v0.0.0-...-17c607b Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewKafkaConsumer

func NewKafkaConsumer(cfg *config.KafkaConfig) (*kafka.Consumer, error)

Types

type Consumer

type Consumer struct {
	Config        *config.SampledConfig
	StoreDriver   storedriver.StoreDriver
	KafkaConsumer *kafka.Consumer
	// contains filtered or unexported fields
}

func NewConsumer

func NewConsumer(cfg *config.SampledConfig) (*Consumer, error)

func (*Consumer) Run

func (c *Consumer) Run() error

func (*Consumer) Shutdown

func (c *Consumer) Shutdown()

Jump to

Keyboard shortcuts

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