producer

package
v0.0.0-...-8b88020 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2022 License: GPL-3.0 Imports: 7 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 interface {
	Close() error
	UpdateSuperhero(s model.Superhero) error
}

Producer interface defines producer methods.

func NewProducer

func NewProducer(cfg *config.Config) Producer

NewProducer configures Kafka producer that produces to configured topic.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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