simple

package
v0.44.0 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package simple provides a simple consumer implementation without consumer groups.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Factory

type Factory struct {
	// contains filtered or unexported fields
}

Factory definition of a consumer factory.

func New

func New(name, topic string, brokers []string, oo ...kafka.OptionFunc) (*Factory, error)

New constructor.

func (*Factory) Create

func (f *Factory) Create() (async.Consumer, error)

Create a new consumer.

Jump to

Keyboard shortcuts

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