kafka

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 23, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Broker

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

Broker implements the MessageBroker interface

func NewBroker

func NewBroker(brokers []string, config *sarama.Config) (*Broker, error)

NewBroker constructor

func (Broker) Send

func (b Broker) Send(event outbox.Message) error

Send delivers the message to kafka

Jump to

Keyboard shortcuts

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