consumer

package
v0.0.0-...-5fa4b99 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: CC0-1.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Consumer

type Consumer struct {
	// contains filtered or unexported fields
}

func New

func New(brokers []string, group string, topics []string, consumerGroupHandler sarama.ConsumerGroupHandler,
	context context.Context) (*Consumer, error)

func (*Consumer) Consume

func (c *Consumer) Consume() error

type IConsumer

type IConsumer interface {
	Consume() error
}

Jump to

Keyboard shortcuts

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