factory

package
v0.0.0-...-ec26dd8 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2019 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTransport

func NewTransport(shutdownHandler shutdown.ShutdownHandler,
	transportType transport.TransportType,
	transportConfig map[string]interface{},
	inputChan <-chan *marshaller.MarshalledMessage,
	txnsSeen chan<- *progress.Seen,
	txnsWritten chan<- *ordered_map.OrderedMap,
	statsChan chan stats.Stat,
	workers int,
	flushBatchUpdateAge int,
	flushBatchMaxAge int,
	batchQueueDepth int,
	batcherMemorySoftLimit int64,
	routingMethod batcher.BatchRouting) (*batcher.Batcher, []*transport.Transporter)

NewTransport returns out a transport (batcher, transporters) based on the type

Types

This section is empty.

Jump to

Keyboard shortcuts

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