kafka

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2021 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(ctx context.Context, tp config.Tracepoint, bufpool *sync.Pool, ch chan *bytes.Buffer) error

Start starts producing the requested fields to kafka cluster.

Types

type Config

type Config struct {
	Workers        int
	Topic          string
	Brokers        []string
	Serialization  string
	Compression    string
	RetryMax       int
	RequestSizeMax int32
	RetryBackoff   int

	SASLUsername string
	SASLPassword string

	TLSConfig config.TLSConfig
}

Config represents Kafka configuration

Jump to

Keyboard shortcuts

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