Skip to content

Commit d0e9b12

Browse files
committed
IGNITE-25774 Extension to write CDC data to PostgreSQL
1 parent d10f794 commit d0e9b12

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

docs/_docs/extensions-and-integrations/change-data-capture-extensions.adoc

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,24 @@ Spring XML configuration example (`ignite-to-postgres.xml`):
375375
</bean>
376376
----
377377

378+
=== Configuration Options
379+
380+
The following settings can be used to configure the behavior of `IgniteToPostgreSqlCdcConsumer`:
381+
382+
[cols="1,2,1", options="header"]
383+
|===
384+
| Setting | Description | Default
385+
| `dataSource` | JDBC `DataSource` used to connect to the target PostgreSQL database. Must be provided by the user. | _Required_
386+
| `caches` | Set of Ignite cache names to replicate. Must be provided by the user. | _Required_
387+
| `onlyPrimary` | If `true`, replicates only events originating from the primary node. Useful to avoid duplicate updates in replicated clusters. | `true`
388+
| `maxBatchSize` | Maximum number of statements per batch submitted to PostgreSQL. Affects transaction commit size. | `1024`
389+
| `autoCommit` | If `true`, each batch is committed immediately after submission. If false, batches accumulate and are committed by the connector after finishing the last WAL segment | `false`
390+
| `createTables`| If `true`, missing target tables in PostgreSQL will be created automatically during startup.| `false`
391+
|===
392+
393+
If `autoCommit` is disabled (`false`), batches are accumulated and committed either manually or by the connector after processing a group of batches.
394+
395+
378396
[WARNING]
379397
====
380398
Choosing the `dataSource` is the user's responsibility. Consider:

0 commit comments

Comments
 (0)