kafka

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2023 License: MPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidCredentials = errors.New("your kafka credentials are invalid. please verify you're providing the correct credentials")

Functions

This section is empty.

Types

type Kafka

type Kafka struct {
	Cfg *datastore.KafkaPubSubConfig
	// contains filtered or unexported fields
}

func New

func New(source *datastore.Source, handler datastore.PubSubHandler, log log.StdLogger) *Kafka

func (*Kafka) Consume

func (k *Kafka) Consume()

func (*Kafka) Start

func (k *Kafka) Start()

func (*Kafka) Stop

func (k *Kafka) Stop()

func (*Kafka) Verify

func (k *Kafka) Verify() error

Jump to

Keyboard shortcuts

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