Save collections as text files, then open their Tap
s in a new ScioContext
Usage:
sbt "runMain com.spotify.scio.examples.extra.TapOutputExample
--project=[PROJECT] --runner=DataflowRunner --region=[REGION NAME]
--output=gs://[OUTPUT] --method=[METHOD]"
Each ScioContext
instance maps to a unique pipeline
First job and its associated ScioContext
Save data to a temporary location for use later as a ClosedTap[T]
Save data for use later as a ClosedTap[T]
Get taps from ScioResult which is available after the ScioContext has finished
Fetch Tap
values directly
Second job and its associated ScioContext
Re-open taps in new ScioContext
Execute the pipeline and block until it completes
Handling I/O with Tap