FlareRunner as the runner to submit it to a running FlareDB instance.
Prerequisites
- A running FlareDB instance. See the Quickstart.
- Python 3.9+.
- An Apache Beam pipeline. The examples in this guide use Apache Beam 2.76.0.
1. Install the runner dependency
Create and activate a virtual environment, then install theflaredb-runner package from the repository. It includes flare and apache-beam dependency.
2. Configure the pipeline
SetFlareRunner as the runner and point it at the FlareDB instance:
wordcount.py
3. Run the pipeline
With a FlareDB instance running, submit the pipeline:Pipeline options
Pass options as keyword arguments toPipelineOptions:
These options can also be provided as command-line arguments:
Pipeline logs
AJOB-ID is generated automatically for each submitted job. Use it to view logs for a specific job, or stream the most recent logs when you do not provide an ID. Usage:
JOB-ID is logged during job submission via the runner SDK.