You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: broker/setup_broker/lvk/README.md
+11-4Lines changed: 11 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Connect Pitt-Google to the LIGO/Virgo/KAGRA (LVK) Gravitational Wave Alert Stream
2
2
3
-
April 2024 - Author: Christopher Hernandez
3
+
Updated January 2025 - Author: Christopher Hernández
4
4
5
5
-[Overview](#overview)
6
6
-[Setup](#setup)
@@ -37,8 +37,10 @@ You may want to
37
37
or
38
38
[set up a GCP project from scratch](https://pitt-broker.readthedocs.io/en/latest/broker/run-a-broker-instance/initial-setup.html#setup-local-environment).
39
39
40
-
[Create secrets](https://cloud.google.com/secret-manager/docs/creating-and-accessing-secrets#create) for your client ID
41
-
and client secret
40
+
41
+
### Use GCP's Secret Manager
42
+
[Secret Manager](https://cloud.google.com/secret-manager/docs/overview) is a service that allows users to manage and store sensitive data. Use the following code snippet to [create secrets](https://cloud.google.com/secret-manager/docs/creating-and-accessing-secrets#create) for your client ID
43
+
and client secret. This information will be used to deploy a broker instance with your client credentials.
Our broker uses [BigQuery subscriptions](https://cloud.google.com/pubsub/docs/bigquery) to write alert data directly to a BigQuery table.
90
+
Messages receieved by BigQuery subscriptions that fail to write data to BigQuery are negatively acknowledged and re-sent. If the messages fail enough times (default number of attempts = 5), then the message is subsequently moved to a [dead letter topic](https://cloud.google.com/pubsub/docs/handling-failures#dead_letter_topic). A subscription to this dead letter topic is automatically made, allowing the user to identify which messages failed to write data to BigQuery and why the write operation failed.
91
+
87
92
## Deploy broker instance
88
93
89
94
Clone the repo and cd into the directory:
@@ -110,6 +115,8 @@ complete, the VM will shut down automatically. You can check the status of the V
0 commit comments