Description
Recently the Go SDK dataflow runner code began adding explicitly set flags to the pipeline options. This made them available to worker code at execution time, if queried with `beam.PipelineOptions.Get`.
The proposal is to generalize this code and make use of it in all runners (including the direct runner). This would make PipelineOptions a useful concept in the Go SDK.
Flag filtering and adding here:
https://github.com/apache/beam/blob/master/sdks/go/pkg/beam/runners/dataflow/dataflow.go#L281
Once implemented for all runners, it should be possible to test use of this in the integration tests to ensure continued function.
Danny wrote a quick Doc: https://docs.google.com/document/d/1AyO5SDEd_DzyOyrz_TkyDLUv19eLsKI97vKM8I7fQ9o/edit#
Attachments
Issue Links
- links to