[
https://issues.apache.org/jira/browse/BEAM-10700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17548914#comment-17548914
]
Danny McCormick commented on BEAM-10700:
----------------------------------------
This issue has been migrated to https://github.com/apache/beam/issues/20524
> "Retroactively logging runtime parameters" guide simply doesn't work.
> ---------------------------------------------------------------------
>
> Key: BEAM-10700
> URL: https://issues.apache.org/jira/browse/BEAM-10700
> Project: Beam
> Issue Type: Bug
> Components: website
> Reporter: Marcus Truscello
> Priority: P3
> Labels: documentation
>
> The Java version of the "[Pipeline option
> patterns|https://beam.apache.org/documentation/patterns/pipeline-options/]"
> article simply does not work.
> When creating a PipelineOptions inside of a DoFn, all get methods that return
> ValueProvider<T> will return null instead. The closest working example I
> could find was from Google's guide on [ValueProviders in Dataflow
> templates|#using-valueprovider-in-your-functions]. The pattern involves
> passing the ValueProvider into a DoFn class's constructor, storing it, then
> later accessing it at runtime.
>
--
This message was sent by Atlassian Jira
(v8.20.7#820007)