streammanager

package
v0.0.0-...-0ade494 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 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

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

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