kafkaconfluent

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2020 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustNew

func MustNew(config Config) goduck.Stream

MustNew creates a confluent-kafka-go goduck.Stream with default configs

Types

type Config added in v0.2.1

type Config struct {
	Brokers  []string
	GroupID  string
	Username string
	Password string

	Topics []string

	// PoolTimeout is the value passed to the internal consumer.Pool(...)
	// function. Default: 1s
	PoolTimeout time.Duration
	// contains filtered or unexported fields
}

Config contains the configuration necessary to build the confluent-kafka-go goduck.Stream

Jump to

Keyboard shortcuts

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