robertwb commented on code in PR #30007:
URL: https://github.com/apache/beam/pull/30007#discussion_r1462293393


##########
sdks/python/apache_beam/yaml/README.md:
##########
@@ -48,6 +48,40 @@ It should be noted that everything here is still under 
development, but any
 features already included are considered stable. Feedback is welcome at
 [email protected].
 
+## Running pipelines
+
+The Beam yaml parser is currently included as part of the Apache Beam Python 
SDK.
+This can be installed (e.g. within a virtual environment) as
+
+```
+pip install apache_beam[yaml,gcp]
+```
+
+In addition, several of the provided transforms (such as SQL) are implemented
+in Java and their expansion will require a working Java interpeter. (The
+requisite artifacts will be automatically downloaded from the apache maven
+repositories, so no further installs will be required.)
+Docker is also currently required for local execution of these
+cross-language-requiring transforms, but not for submission to a non-local
+runner such as Flink or Dataflow.
+
+Once the prerequisites are installed, you can execute a pipeline defined
+in a yaml file as
+
+```
+python -m apache_beam.yaml.main --yaml_pipeline_file=/path/to/pipeline.yaml 
[other pipeline options such as the runner]
+```
+
+You can do a dry-run of your pipeline using the render runner to see what the
+execution graph is, e.g.
+
+```
+python -m apache_beam.yaml.main --yaml_pipeline_file=/path/to/pipeline.yaml 
--runner=apache_beam.runners.render.RenderRunner --render_output=out.png 
[--render_port=0]
+```

Review Comment:
   Good point. Added. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to