sarama

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConsumerHandler

func NewConsumerHandler(cf *config.Configuration, db *database.DB) (iface.ConsumerHandler, error)

func NewKafkaProducer

func NewKafkaProducer(cf *config.Configuration) (iface.KafkaProducer, error)

Types

type EventHandler

type EventHandler interface {
	Handle(topic string, eventBytes []byte)
}

Jump to

Keyboard shortcuts

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