producer

package
v0.0.0-...-4dfe32f Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package producer contains interface that can be used to produce (that is send) messages to properly configured Kafka broker. Three implementations of Producer interface can be found in sub-packages.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Producer

type Producer interface {
	ProduceMessage(msg types.ProducerMessage) (int32, int64, error)
	Close() error
}

Producer represents any producer

Directories

Path Synopsis
Package disabled contains an empty implementation of Producer interface.
Package disabled contains an empty implementation of Producer interface.
Package kafka contains an implementation of Producer interface that can be used to produce (that is send) messages to properly configured Kafka broker.
Package kafka contains an implementation of Producer interface that can be used to produce (that is send) messages to properly configured Kafka broker.
Package servicelog contains an implementation of Producer interface that can be used to produce (that is send) messages to Service Log.
Package servicelog contains an implementation of Producer interface that can be used to produce (that is send) messages to Service Log.

Jump to

Keyboard shortcuts

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