provider

package
v0.0.0-rc12 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PushBatchSize    = 2 * humanize.MiByte
	MaxInflightCount = 16384 // Max number of successfuly AsyncPush'd batches for which we may wait response from pusher
)

16k batches * 2 MiByte per batch should be enough to fill buffer of size 32GiB

View Source
const ReadRetries = 5

Variables

This section is empty.

Functions

func NewEventFromLazyYSON

func NewEventFromLazyYSON(parentBatch *batch, idx int) *event

func NewSnapshotSource

func NewSnapshotSource(cfg *yt2.YtSource, ytc yt.Client, part *dataobjects.Part,
	lgr log.Logger, metrics *stats.SourceStats) *snapshotSource

func NewSource

func NewSource(logger log.Logger, registry metrics.Registry, cfg *yt2.YtSource) (*source, error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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