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: docs/configuration.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,6 +48,8 @@ source:
48
48
replication_slot: "pgstream_mydatabase_slot"
49
49
plugin:
50
50
include_xids: false # whether to include transaction IDs in the replication stream events. Defaults to false.
51
+
add_tables: "public.*"# comma-separated list of tables to include in the wal2json output. Supports wildcards. Filters at the source decode level. Defaults to all tables.
52
+
filter_tables: "pipelines.*,private.*"# comma-separated list of tables to exclude from the wal2json output. Supports wildcards. Filters at the source decode level. Defaults to empty.
51
53
retry_policy: # retry policy for postgres connections, one of exponential or constant or disable_retries
52
54
disable_retries: false
53
55
exponential:
@@ -195,6 +197,8 @@ Here's a list of all the environment variables that can be used to configure the
195
197
| PGSTREAM_POSTGRES_LISTENER_URL | N/A | Yes | URL of the Postgres database to connect to for replication purposes. |
196
198
| PGSTREAM_POSTGRES_REPLICATION_SLOT_NAME | "pgstream_dbname_slot" | No | Name of the Postgres replication slot name. |
197
199
| PGSTREAM_POSTGRES_REPLICATION_PLUGIN_INCLUDE_XIDS | False | No | Whether to include XIDs in the replication events. |
200
+
| PGSTREAM_POSTGRES_REPLICATION_PLUGIN_ADD_TABLES | "" | No | Comma-separated list of tables to include in the wal2json output. Supports wildcards (e.g. `public.*`). Filters at the source decode level, preventing wal2json from generating JSON for excluded tables. |
201
+
| PGSTREAM_POSTGRES_REPLICATION_PLUGIN_FILTER_TABLES | "" | No | Comma-separated list of tables to exclude from the wal2json output. Supports wildcards (e.g. `pipelines.*,private.*`). Filters at the source decode level, preventing wal2json from generating JSON for excluded tables. |
198
202
| PGSTREAM_POSTGRES_SNAPSHOT_MODE | "full" | No | Mode in which the snapshot will be run. It can be one of `schema`, `data` or `full` (both schema and data). |
199
203
| PGSTREAM_POSTGRES_SNAPSHOT_TABLES | "" | No | Tables for which there will be an initial snapshot generated. The syntax supports wildcards. Tables without a schema defined will be applied the public schema. Example: for `public.test_table` and all tables in the `test_schema` schema, the value would be the following: `"test_table test_schema.\*"` |
200
204
| PGSTREAM_POSTGRES_SNAPSHOT_EXCLUDED_TABLES | "" | No | Tables that will be excluded in the snapshot process. The syntax does not support wildcards. Tables without a schema defined will be applied the public schema. |
0 commit comments