Back to / sdks / go / pkg / beam / x / debug

Package debug

Latest Go to latest

The latest major version is .

Published: Jul 22, 2020 | License: Apache-2.0 | Module:


Package debug contains pipeline components that may help in debugging pipeline issues.


func Discard

func Discard(s beam.Scope, col beam.PCollection)

Discard is a sink that discards all data.

func Head(s beam.Scope, col beam.PCollection, n int) beam.PCollection

Head returns the first "n" elements it sees, it doesn't enforce any logic as to what elements they will be.

func Print

func Print(s beam.Scope, col beam.PCollection) beam.PCollection

Print prints out all data. Use with care.

func Printf

func Printf(s beam.Scope, format string, col beam.PCollection) beam.PCollection

Printf prints out all data with custom formatting. The given format string is used as log.Printf(format, elm) for each element. Use with care.

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier