You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Davor Bonaci (JIRA)" <ji...@apache.org> on 2017/08/24 21:04:00 UTC

[jira] [Resolved] (BEAM-1461) duplication with StartBundle and prepareForProcessing in DoFn

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

Davor Bonaci resolved BEAM-1461.
--------------------------------
       Resolution: Fixed
    Fix Version/s: Not applicable

> duplication with StartBundle and prepareForProcessing in DoFn
> -------------------------------------------------------------
>
>                 Key: BEAM-1461
>                 URL: https://issues.apache.org/jira/browse/BEAM-1461
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-java-core
>            Reporter: Xu Mingmin
>            Assignee: Davor Bonaci
>             Fix For: Not applicable
>
>
> There're one annotation `StartBundle`, and one public function `prepareForProcessing` in DoFn, which are called both before `ProcessElement`. It's confused which one should be implemented in a subclass.
> The call sequence seems as:
> prepareForProcessing -> StartBundle -> processElement



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)