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
fields (Sequence[str], optional): A list of fields to include in each reports. Note that `breakdowns` option adds fields automatically. Defaults to DEFAULT_INSIGHT_FIELDS.
150
149
attribution_window_days_lag (int, optional): Attribution window in days. The reports in attribution window are refreshed on each run.. Defaults to 7.
151
150
time_increment_days (int, optional): The report aggregation window in days. use 7 for weekly aggregation. Defaults to 1.
152
-
breakdowns (TInsightsBreakdownOptions, optional): A presents with common aggregations. See settings.py for details. Defaults to "ads_insights_age_and_gender".
153
-
action_breakdowns (Sequence[str], optional): Action aggregation types. See settings.py for details. Defaults to ALL_ACTION_BREAKDOWNS.
151
+
breakdowns (TInsightsBreakdownOptions, optional): A presents with common aggregations. See settings.py for details. Defaults to None (no breakdowns).
152
+
action_breakdowns (Sequence[str], optional): Action aggregation types. See settings.py for details. Defaults to None (no action breakdowns).
154
153
level (TInsightsLevels, optional): The granularity level. Defaults to "ad".
155
154
action_attribution_windows (Sequence[str], optional): Attribution windows for actions. Defaults to ALL_ACTION_ATTRIBUTION_WINDOWS.
156
155
batch_size (int, optional): Page size when reading data from particular report. Defaults to 50.
| replication_resource | Load published messages from a replication slot |
9
+
| init_replication | Initialize replication and optionally return snapshot resources for initial data load |
9
10
10
11
## Initialize the pipeline
11
12
@@ -29,6 +30,13 @@ It also needs `CREATE` privilege on the database:
29
30
GRANT CREATE ON DATABASE dlt_data TO replication_user;
30
31
```
31
32
33
+
If not a superuser, the user must have ownership of the tables that need to be replicated:
34
+
35
+
```sql
36
+
ALTERTABLE your_table OWNER TO replication_user;
37
+
```
38
+
39
+
32
40
### Set up RDS
33
41
1. You must enable replication for RDS Postgres instance via **Parameter Group**: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PostgreSQL.Replication.ReadReplicas.html
34
42
2.`WITH LOGIN REPLICATION;` does not work on RDS, instead do:
0 commit comments