timer_wordcap

command
v2.58.1-RC1 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: Apache-2.0, BSD-3-Clause, MIT Imports: 12 Imported by: 0

Documentation

Overview

timer_wordcap is a toy streaming pipeline that demonstrates the use of State and Timers. Periodic Impulse is used as a streaming source that produces sequence of elements upto 5 minutes from the start of the pipeline every 5 seconds. These elements are keyed and fed to the Stateful DoFn where state and timers are set and cleared. Since this pipeline uses a Periodic Impulse, the pipeline is terminated automatically after it is done producing elements for 5 minutes.

Jump to

Keyboard shortcuts

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