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
Subscribed to the topic set in the `batch-datasets` function, `batch-process-dataset` is triggered for each message published. It handles the processing of each feed individually, ensuring data consistency and integrity. The function performs the following operations:
3
4
4
5
1.**Download Data**: It retrieves the feed data from the provided URL.
@@ -8,34 +9,56 @@ Subscribed to the topic set in the `batch-datasets` function, `batch-process-dat
8
9
9
10
The URL format for accessing these datasets is standardized as `<bucket-url>/<feed_stable_id>/<dataset_id>.zip`, ensuring a consistent and predictable path for data retrieval.
10
11
11
-
12
12
# Message format
13
+
13
14
The function expects a Pub/Sub message with the following format:
The function is configured using the following environment variables:
57
+
35
58
-`DATASETS_BUCKET_NAME`: The name of the bucket where the datasets are stored.
36
59
-`FEEDS_DATABASE_URL`: The URL of the feeds database.
37
60
-`MAXIMUM_EXECUTIONS`: [Optional] The maximum number of executions per datasets. This controls the number of times a dataset can be processed per execution id. By default, is 1.
38
61
39
-
40
62
# Local development
41
-
The local development of this function follows the same steps as the other functions. Please refer to the [README.md](../README.md) file for more information.
63
+
64
+
The local development of this function follows the same steps as the other functions. Please refer to the [README.md](../README.md) file for more information.
0 commit comments