producer

package
v0.0.0-...-7d51d8f Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAsync

func NewAsync() (p sarama.AsyncProducer, err error)

func NewSync

func NewSync() (p sarama.SyncProducer, err error)

func PrepareMessage

func PrepareMessage(topic string, message []byte, meta map[string]string) (msg *sarama.ProducerMessage)

Types

This section is empty.

Jump to

Keyboard shortcuts

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