kafkago

package
v0.0.0-...-0909f30 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewProducer

func NewProducer(brokers string) *kafkago.Writer

NewProducer returns a new kafkago writer.

func NewReader

func NewReader(brokers string) *kafkago.Reader

NewReader returns a new kafkago writer.

func Prepare

func Prepare(writer *kafkago.Writer, message []byte, numMessages int) func()

Prepare returns a function that can be used during the benchmark as it only performs the sending of messages.

func PrepareReader

func PrepareReader(reader *kafkago.Reader, numMessages int) func()

PrepareReader returns a function that can be used during the benchmark as it only performs the consuming of messages.

Types

This section is empty.

Jump to

Keyboard shortcuts

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