broker

package
v0.0.0-...-e38fc80 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package broker contains logic for processing message brokers logic

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MessageConsumer

type MessageConsumer interface {
	Consume(context.Context) error
}

MessageConsumer represents behavior of Message data consumer

func NewKafkaMessageConsumer

func NewKafkaMessageConsumer(r *kafka.Reader, messageRps repository.MessageRepository) MessageConsumer

NewKafkaMessageConsumer builds kafka Message consumer

Jump to

Keyboard shortcuts

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