streammanager

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2022 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close added in v1.0.2

func Close(producer interface{}, destType string) error

Close delegates the call to the appropriate manager based on parameter destination to close a given producer TODO check if it's possible to pass a context

func NewProducer added in v0.1.10

func NewProducer(destinationConfig map[string]interface{}, destType string, opts common.Opts) (common.StreamProducer, error)

NewProducer delegates the call to the appropriate based on parameter destination for creating producer

func Produce

func Produce(jsonData json.RawMessage, destType string, producer, config interface{}) (int, string, string)

Produce delegates call to appropriate manager based on parameter destination

Types

This section is empty.

Jump to

Keyboard shortcuts

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