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

New DoFn should allow injecting of all parameters in ProcessContext

Details

    • Bug
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • 2.4.0
    • 2.5.0
    • sdk-java-core

    Description

      This was intended in the past, but never completed. Ideally all primitive parameters in ProcessContext should be injectable, and OutputReceiver parameters can be used to collection output. So, we should be able to write a DoFn as follows

      @ProcessElement

      public void process(@Element String word, OutputReceiver<String> receiver)

      {   receiver.output(word.toUpperCase()); }

      Attachments

        Activity

          People

            reuvenlax Reuven Lax
            reuvenlax Reuven Lax
            Votes:
            0 Vote for this issue
            Watchers:
            1 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 - 5h 20m
                5h 20m