consumer

package
v1.0.63 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IConsumer

type IConsumer interface {
	Consume(topic string, offset int64, onConsume func(msg *sarama.ConsumerMessage) error, maxThreads int) error
}

func NewConsumer

func NewConsumer(brokers []string, offset int64, configParams ...sarama.Config) (IConsumer, error)

Jump to

Keyboard shortcuts

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