kafka

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Config

func Config(cfg configs.Configuration) *sarama.Config

Config ...

func NewWorkQueueConsumer

func NewWorkQueueConsumer(_ configs.Configuration, topicHandlers map[enums.Daemon]definition.Consumer) error

NewWorkQueueConsumer ...

func NewWorkQueueProducer

NewWorkQueueProducer ...

Types

type ConsumerGroupHandler

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

ConsumerGroupHandler ...

func (*ConsumerGroupHandler) Cleanup

Cleanup ...

func (*ConsumerGroupHandler) ConsumeClaim

ConsumeClaim ...

func (*ConsumerGroupHandler) Setup

Setup ...

type MessageWrapper

type MessageWrapper struct {
	Times   int
	Payload []byte
}

MessageWrapper ...

Jump to

Keyboard shortcuts

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