Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-13024

[Go SDK] Export flags to PipelineOptions on non-dataflow runners.

Details

    • Bug
    • Status: Resolved
    • P2
    • Resolution: Implemented
    • None
    • 2.37.0
    • sdk-go
    • None

    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

          Activity

            People

              damccorm Danny McCormick
              lostluck Robert Burke
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 3h 40m
                  3h 40m