You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Rehman Murad Ali (Jira)" <ji...@apache.org> on 2020/04/28 09:39:00 UTC

[jira] [Updated] (BEAM-9839) OnTimerContext should not create a new one when processing each element/timer in FnApiDoFnRunner

     [ https://issues.apache.org/jira/browse/BEAM-9839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rehman Murad Ali updated BEAM-9839:
-----------------------------------
    Description: 
{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}

 

 

  was:
{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]

 

 


> 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
>            Priority: Major
>
> {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}
>  
>  



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