utils

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2023 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTopicConsumer

func NewTopicConsumer(brokerURL, topic string, buffer int) (*topicConsumer, error)

Types

type TopicConsumer

type TopicConsumer interface {
	Messages() <-chan *sarama.ConsumerMessage
	Close() error
}

TopicConsumer consumes all of the partitions on a

Jump to

Keyboard shortcuts

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