Skip to content

Commit 7b823eb

Browse files
committed
add doc
1 parent b4f7f6d commit 7b823eb

2 files changed

Lines changed: 18 additions & 2 deletions

File tree

docs/content.zh/docs/connectors/flink-sources/oracle-cdc.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,9 +351,16 @@ Connector Options
351351
<td style="word-wrap: break-word;">initial</td>
352352
<td>String</td>
353353
<td>Optional startup mode for Oracle CDC consumer, valid enumerations are "initial"
354-
and "latest-offset".
354+
, "latest-offset" , specific-offset.
355355
Please see <a href="#startup-reading-position">Startup Reading Position</a> section for more detailed information.</td>
356356
</tr>
357+
<tr>
358+
<td>scan.startup.specific-offset.scn</td>
359+
<td>optional</td>
360+
<td style="word-wrap: break-word;">(none)</td>
361+
<td>Long</td>
362+
<td>Optional SCN used in case of "specific-offset" startup mode</td>
363+
</tr>
357364
<tr>
358365
<td>scan.incremental.snapshot.enabled</td>
359366
<td>optional</td>
@@ -543,6 +550,7 @@ The config option `scan.startup.mode` specifies the startup mode for Oracle CDC
543550
- `initial` (default): Performs an initial snapshot on the monitored database tables upon first startup, and continue to read the latest redo log.
544551
- `latest-offset`: Never to perform a snapshot on the monitored database tables upon first startup, just read from
545552
the change since the connector was started.
553+
- `specific-offset`: Skip snapshot phase and start reading redo log from a specific offset with scn.
546554

547555
_Note: the mechanism of `scan.startup.mode` option relying on Debezium's `snapshot.mode` configuration. So please do not use them together. If you specific both `scan.startup.mode` and `debezium.snapshot.mode` options in the table DDL, it may make `scan.startup.mode` doesn't work._
548556

docs/content/docs/connectors/flink-sources/oracle-cdc.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,9 +352,16 @@ Connector Options
352352
<td style="word-wrap: break-word;">initial</td>
353353
<td>String</td>
354354
<td>Optional startup mode for Oracle CDC consumer, valid enumerations are "initial"
355-
and "latest-offset".
355+
, "latest-offset" , specific-offset.
356356
Please see <a href="#startup-reading-position">Startup Reading Position</a> section for more detailed information.</td>
357357
</tr>
358+
<tr>
359+
<td>scan.startup.specific-offset.scn</td>
360+
<td>optional</td>
361+
<td style="word-wrap: break-word;">(none)</td>
362+
<td>Long</td>
363+
<td>Optional SCN used in case of "specific-offset" startup mode</td>
364+
</tr>
358365
<tr>
359366
<td>scan.incremental.snapshot.enabled</td>
360367
<td>optional</td>
@@ -544,6 +551,7 @@ The config option `scan.startup.mode` specifies the startup mode for Oracle CDC
544551
- `initial` (default): Performs an initial snapshot on the monitored database tables upon first startup, and continue to read the latest redo log.
545552
- `latest-offset`: Never to perform a snapshot on the monitored database tables upon first startup, just read from
546553
the change since the connector was started.
554+
- `specific-offset`: Skip snapshot phase and start reading redo log from a specific offset with scn.
547555

548556
_Note: the mechanism of `scan.startup.mode` option relying on Debezium's `snapshot.mode` configuration. So please do not use them together. If you specific both `scan.startup.mode` and `debezium.snapshot.mode` options in the table DDL, it may make `scan.startup.mode` doesn't work._
549557

0 commit comments

Comments
 (0)