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: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(ctx context.Context, name string, ser string, ch chan interface{}) error

Start starts a consumer group

Types

type Config

type Config struct {
	Brokers      []string
	Topic        string
	RetryBackoff int // seconds
	Workers      int
	Version      string

	TLSConfig config.TLSConfig
}

Config represents kafka consumer configuration

Jump to

Keyboard shortcuts

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