consumer

package
v0.0.0-...-9c74388 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConsumerRunner

type ConsumerRunner struct {
	Runner   *kafka.Consumer
	Topic    string
	MsgCount int
	Key      string
	Context  *util.Context
}

func KafkaConsumerInit

func KafkaConsumerInit(config *config.Config, key *util.MsgKey, context *util.Context) (*ConsumerRunner, error)

func (*ConsumerRunner) Sub

func (consumer *ConsumerRunner) Sub()

Jump to

Keyboard shortcuts

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