|
76 | 76 | import static org.apache.flink.cdc.connectors.mysql.source.MySqlDataSourceOptions.PORT; |
77 | 77 | import static org.apache.flink.cdc.connectors.mysql.source.MySqlDataSourceOptions.SCAN_BINLOG_NEWLY_ADDED_TABLE_ENABLED; |
78 | 78 | import static org.apache.flink.cdc.connectors.mysql.source.MySqlDataSourceOptions.SCAN_INCREMENTAL_CLOSE_IDLE_READER_ENABLED; |
79 | | -import static org.apache.flink.cdc.connectors.mysql.source.MySqlDataSourceOptions.SCAN_INCREMENTAL_SNAPSHOT_ASSIGN_ENDING_FIRST; |
| 79 | +import static org.apache.flink.cdc.connectors.mysql.source.MySqlDataSourceOptions.SCAN_INCREMENTAL_SNAPSHOT_ASSIGN_ENDING_CHUNK_FIRST; |
80 | 80 | import static org.apache.flink.cdc.connectors.mysql.source.MySqlDataSourceOptions.SCAN_INCREMENTAL_SNAPSHOT_CHUNK_KEY_COLUMN; |
81 | 81 | import static org.apache.flink.cdc.connectors.mysql.source.MySqlDataSourceOptions.SCAN_INCREMENTAL_SNAPSHOT_CHUNK_SIZE; |
82 | 82 | import static org.apache.flink.cdc.connectors.mysql.source.MySqlDataSourceOptions.SCAN_NEWLY_ADDED_TABLE_ENABLED; |
@@ -152,7 +152,7 @@ public DataSource createDataSource(Context context) { |
152 | 152 | boolean isParsingOnLineSchemaChanges = config.get(PARSE_ONLINE_SCHEMA_CHANGES); |
153 | 153 | boolean useLegacyJsonFormat = config.get(USE_LEGACY_JSON_FORMAT); |
154 | 154 | boolean isAssignEndingChunkFirst = |
155 | | - config.get(SCAN_INCREMENTAL_SNAPSHOT_ASSIGN_ENDING_FIRST); |
| 155 | + config.get(SCAN_INCREMENTAL_SNAPSHOT_ASSIGN_ENDING_CHUNK_FIRST); |
156 | 156 |
|
157 | 157 | validateIntegerOption(SCAN_INCREMENTAL_SNAPSHOT_CHUNK_SIZE, splitSize, 1); |
158 | 158 | validateIntegerOption(CHUNK_META_GROUP_SIZE, splitMetaGroupSize, 1); |
@@ -341,7 +341,7 @@ public Set<ConfigOption<?>> optionalOptions() { |
341 | 341 | options.add(USE_LEGACY_JSON_FORMAT); |
342 | 342 | options.add(TREAT_TINYINT1_AS_BOOLEAN_ENABLED); |
343 | 343 | options.add(PARSE_ONLINE_SCHEMA_CHANGES); |
344 | | - options.add(SCAN_INCREMENTAL_SNAPSHOT_ASSIGN_ENDING_FIRST); |
| 344 | + options.add(SCAN_INCREMENTAL_SNAPSHOT_ASSIGN_ENDING_CHUNK_FIRST); |
345 | 345 | return options; |
346 | 346 | } |
347 | 347 |
|
|
0 commit comments