example

package
v0.0.0-...-87bb79b Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Configure

func Configure(brokers []string, client string, topic string) (w *kafka.Writer, err error)

Configure returns new Kafka writer for given params.

func Publish

func Publish(parent context.Context, key, value []byte) error

Publish publishes message into kafka.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳