bvolpato commented on code in PR #22927:
URL: https://github.com/apache/beam/pull/22927#discussion_r956533127


##########
website/www/site/content/en/documentation/sdks/java-multi-language-pipelines.md:
##########
@@ -155,6 +158,50 @@ export PYTHON_VERSION=<version>
 The pipeline outputs a file with the results to
 **gs://$OUTPUT_BUCKET/count-00000-of-00001**.
 
+### Run with DirectRunner
+
+> **Note:** Multi-language Pipelines need to use 
[portable](/roadmap/portability/)
+> runners. Portable DirectRunner is still experimental and does not support all
+> Beam features.
+
+1. Create a Python virtual environment with the latest version of Beam Python 
SDK installed.
+   Please see [here](/get-started/quickstart-py/) for instructions.
+2. Run the job server for portable DirectRunner (implemented in Python)
+
+```
+export JOB_SERVER_PORT=<port>
+
+python -m apache_beam.runners.portability.local_job_service_main -p 
$JOB_SERVER_PORT

Review Comment:
   Don't know exactly why, but this yields 
   ```
   ModuleNotFoundError: No module named 'apache_beam.portability.api'
   ```
   
   Running from the file is starting it, though.
   ```
   python python/apache_beam/runners/portability/local_job_service_main.py -p 
$JOB_SERVER_PORT
   ```
   



-- 
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