kafka

package
v1.62.0 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Producer

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

Producer exposes an output function, to satisfy the interface used by go-ns libraries

func NewProducerAdapter

func NewProducerAdapter(producer kafka.IProducer) *Producer

NewProducerAdapter creates a new kafka producer with access to Output function

func (Producer) Output

func (p Producer) Output() chan kafka.BytesMessage

Output returns the output channel

Jump to

Keyboard shortcuts

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