1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// =============================================================================
// vil_trigger_cdc::config — CdcConfig
// =============================================================================
//
// Configuration for the PostgreSQL logical replication CDC trigger.
// String fields are only present at setup time — not on hot paths.
// =============================================================================
/// Configuration for the VIL CDC (Change Data Capture) trigger.
///
/// Connects to a PostgreSQL instance using logical replication with the
/// `pgoutput` output plugin.
///
/// # Example YAML
/// ```yaml
/// cdc:
/// conn_string: "host=localhost port=5432 dbname=mydb user=repl password=secret"
/// slot_name: "vil_cdc_slot"
/// publication: "vil_pub"
/// ```