Skip to content
This repository was archived by the owner on Jun 12, 2026. It is now read-only.

Latest commit

 

History

History
13 lines (6 loc) · 752 Bytes

File metadata and controls

13 lines (6 loc) · 752 Bytes

Pub/Sub -> Dataflow -> BigQuery

Pocs for analyzing a system using the gcp stack for managing audit logs;


Most of the codes were developed quickly, just for study and testing purposes;

python main.py --streaming --input_subscription projects/[PROJECT_ID]/subscriptions/test-sub --output_table [PROJECT_ID]:test.example --output_schema "timestamp:TIMESTAMP,attr1:FLOAT,msg:STRING"

python main.py --streaming --input_subscription projects/[PROJECT_ID]/subscriptions/test-sub --output_table [PROJECT_ID]:test.example --output_schema "timestamp:TIMESTAMP,attr1:FLOAT,msg:STRING" --runner DataflowRunner --project [PROJECT_ID] --region us-central1 --temp_location gs://[STORAGE]/temp --job_name dataflow-custom-pipeline-v1 --max_num_workers 2