chamikaramj commented on code in PR #22927: URL: https://github.com/apache/beam/pull/22927#discussion_r957523657
########## 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: Did you create a virtual env and install Apache Beam Python (pip install apache-beam) ? -- 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]
