kafka

package
v1.60.0 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2023 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 []byte

Output returns the output channel

Jump to

Keyboard shortcuts

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