You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Luke Cwik (JIRA)" <ji...@apache.org> on 2016/11/10 16:52:58 UTC
[jira] [Commented] (BEAM-950) DoFn Setup and Teardown methods
should have access to PipelineOptions
[ https://issues.apache.org/jira/browse/BEAM-950?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15654527#comment-15654527 ]
Luke Cwik commented on BEAM-950:
--------------------------------
The primary use case is getting access to things like credentials/executor service.
> DoFn Setup and Teardown methods should have access to PipelineOptions
> ---------------------------------------------------------------------
>
> Key: BEAM-950
> URL: https://issues.apache.org/jira/browse/BEAM-950
> Project: Beam
> Issue Type: Bug
> Components: sdk-java-core
> Reporter: Thomas Groh
> Assignee: Davor Bonaci
>
> This enables any options-relevant decisions to be made once per DoFn, without having to lazily initialize in {{startBundle}}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)