harnessopts

package
v2.39.0-RC2 Latest Latest
Warning

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

Go to latest
Published: May 19, 2022 License: Apache-2.0, BSD-3-Clause, MIT Imports: 4 Imported by: 0

Documentation

Overview

Package harnessopts defines user-facing entrypoints into Beam hooks affecting the SDK harness. Call these functions at any time before submitting your pipeline to a runner, for that pipeline's workers to be affected.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SampleInterval

func SampleInterval(samplePeriod time.Duration) error

SampleInterval sets the sampling time period (greater than 1ms) for DoFn metrics sampling. Default value is 200ms.

func SideInputCacheCapacity

func SideInputCacheCapacity(capacity int64) error

SideInputCacheCapacity accepts a desired capacity for the side input cache. A non-zero positive integer enables the cache (the capacity of the cache is 0 by default.) Cache use also requires runner support.

Types

This section is empty.

Jump to

Keyboard shortcuts

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