This repo contains sample code for testing different BigQuery persistence methods in Apache Beam pipelines
export PROJECT_ID=<project_id>
export GCP_REGION=<region>
export BIGQUERY_REGION=us
source setup-env.sh
./start-event-generation.sh <events-per-second>
cd pipeline
./run-dataflow-<method>.sh <params>
For Storage Write API:
./run-dataflow-storage-streaming.sh <number-of-streams> <triggering-frequency-in-seconds>