Rehman Murad Ali created BEAM-9839:
--------------------------------------

             Summary: OnTimerContext should not create a new one when 
processing each element/timer in FnApiDoFnRunner
                 Key: BEAM-9839
                 URL: https://issues.apache.org/jira/browse/BEAM-9839
             Project: Beam
          Issue Type: Improvement
          Components: sdk-java-harness
            Reporter: Rehman Murad Ali


{color:#24292e}The intent of these context objects was to not create a new one 
when processing each element/timer and instead to reference a member variable 
as can be seen in:{color}

 

[{color:#24292e}https://github.com/apache/beam/blob/591de3473144de54beef0932131025e2a4d8504b/sdks/java/harness/src/main/java/org/apache/beam/fn/harness/FnApiDoFnRunner.java#L1468{color}|https://github.com/apache/beam/pull/11154/#discussion_r416023080]

 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to