Documentation
¶
Overview ¶
Package btcachegeneration runs a GCF function that triggers in 2 scenarios:
- completion of prophet-flume job in borg. The trigger is based on GCS file prophet-cache/latest_base_cache_run.txt.
- On completion of BT cache ingestion via an airflow job. This trigger is based on GCS file prophet-cache/[success|failure].txt
In the first case, on triggering it sets up new cloud BT table, scales up BT cluster to 300 nodes and starts an airflow job by writing to prophet-cache/airflow.txt
In the second case it scales BT cluster to 20 nodes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.