apache / beam

Apache Beam is a unified programming model for Batch and Streaming data processing.
https://beam.apache.org/
Apache License 2.0
7.88k stars 4.27k forks source link

Pipeline options documentation has typos and does not show how to use user-defined the options. #19552

Open kennknowles opened 2 years ago

kennknowles commented 2 years ago

Link: 

https://beam.apache.org/documentation/programming-guide/#configuring-pipeline-options

1) Python and Go snippets incorrectly end with an example from Java tab: "Now your pipeline can accept --myCustomOption=value as a command-line argument."

 2) The page does not show how users can actually access the values of these user-defined options.

cc: [~melap], [~rtnguyen] [~altay]

Imported from Jira BEAM-7007. Original Jira may contain additional context. Reported by: tvalentyn.

pcoet commented 2 years ago

Needs further investigation to see if this is still relevant.