Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 1454b36

Browse files
authoredJun 10, 2025··
[FLINK-37891][docs]Remove SQL Server CDC documentation for initial-only (#4037)
1 parent 2fcf6f2 commit 1454b36

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed
 

‎docs/content.zh/docs/connectors/flink-sources/sqlserver-cdc.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,6 @@ The SQLServer CDC connector is a Flink Source connector which will read database
352352
The config option `scan.startup.mode` specifies the startup mode for SQLServer CDC consumer. The valid enumerations are:
353353

354354
- `initial` (default): Takes a snapshot of structure and data of captured tables; useful if topics should be populated with a complete representation of the data from the captured tables.
355-
- `initial-only`: Takes a snapshot of structure and data like initial but instead does not transition into streaming changes once the snapshot has completed.
356355
- `latest-offset`: Takes a snapshot of the structure of captured tables only; useful if only changes happening from now onwards should be propagated to topics.
357356

358357
_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._

‎docs/content/docs/connectors/flink-sources/sqlserver-cdc.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,6 @@ The SQLServer CDC connector is a Flink Source connector which will read database
352352
The config option `scan.startup.mode` specifies the startup mode for SQLServer CDC consumer. The valid enumerations are:
353353

354354
- `initial` (default): Takes a snapshot of structure and data of captured tables; useful if topics should be populated with a complete representation of the data from the captured tables.
355-
- `initial-only`: Takes a snapshot of structure and data like initial but instead does not transition into streaming changes once the snapshot has completed.
356355
- `latest-offset`: Takes a snapshot of the structure of captured tables only; useful if only changes happening from now onwards should be propagated to topics.
357356

358357
_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._

‎flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/main/java/org/apache/flink/cdc/connectors/sqlserver/table/SqlServerTableFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ public class SqlServerTableFactory implements DynamicTableSourceFactory {
107107
.defaultValue("initial")
108108
.withDescription(
109109
"Optional startup mode for SqlServer CDC consumer, valid enumerations are "
110-
+ "\"initial\", \"initial-only\", \"latest-offset\"");
110+
+ "\"initial\" and \"latest-offset\"");
111111

112112
@Override
113113
public DynamicTableSource createDynamicTableSource(Context context) {

0 commit comments

Comments
 (0)
Please sign in to comment.