From 82a652ca6fab233a9b3f4a8f19dfe2ee0fc87433 Mon Sep 17 00:00:00 2001 From: Leonard Xu Date: Fri, 3 Nov 2023 16:34:10 +0800 Subject: [PATCH] [3.0][kickoff] Introduce basic modules for Flink CDC 3.0 This closes #2610 --- flink-cdc-cli/pom.xml | 28 ++ flink-cdc-common/pom.xml | 28 ++ flink-cdc-composer/pom.xml | 28 ++ .../flink-cdc-pipeline-connectors/pom.xml | 29 ++ .../flink-cdc-base}/pom.xml | 4 +- .../base/config/BaseSourceConfig.java | 0 .../base/config/JdbcSourceConfig.java | 0 .../base/config/JdbcSourceConfigFactory.java | 0 .../connectors/base/config/SourceConfig.java | 0 .../base/dialect/DataSourceDialect.java | 0 .../base/dialect/JdbcDataSourceDialect.java | 0 .../base/options/JdbcSourceOptions.java | 0 .../base/options/SourceOptions.java | 0 .../connectors/base/options/StartupMode.java | 0 .../base/options/StartupOptions.java | 0 .../relational/JdbcSourceEventDispatcher.java | 0 .../connection/ConnectionPoolId.java | 0 .../connection/ConnectionPools.java | 0 .../connection/JdbcConnectionFactory.java | 0 .../connection/JdbcConnectionPoolFactory.java | 0 .../connection/JdbcConnectionPools.java | 0 .../source/EmbeddedFlinkDatabaseHistory.java | 0 .../base/source/IncrementalSource.java | 0 .../source/assigner/HybridSplitAssigner.java | 0 .../assigner/SnapshotSplitAssigner.java | 0 .../base/source/assigner/SplitAssigner.java | 0 .../source/assigner/StreamSplitAssigner.java | 0 .../source/assigner/splitter/ChunkRange.java | 0 .../assigner/splitter/ChunkSplitter.java | 0 .../splitter/JdbcSourceChunkSplitter.java | 0 .../state/HybridPendingSplitsState.java | 0 .../assigner/state/PendingSplitsState.java | 0 .../state/PendingSplitsStateSerializer.java | 0 .../state/SnapshotPendingSplitsState.java | 0 .../state/StreamPendingSplitsState.java | 0 .../IncrementalSourceEnumerator.java | 0 .../source/jdbc/JdbcIncrementalSource.java | 0 .../FinishedSnapshotSplitsAckEvent.java | 0 .../FinishedSnapshotSplitsReportEvent.java | 0 .../FinishedSnapshotSplitsRequestEvent.java | 0 .../meta/events/StreamSplitMetaEvent.java | 0 .../events/StreamSplitMetaRequestEvent.java | 0 .../base/source/meta/offset/Offset.java | 0 .../offset/OffsetDeserializerSerializer.java | 0 .../source/meta/offset/OffsetFactory.java | 0 .../source/meta/split/ChangeEventRecords.java | 0 .../meta/split/FinishedSnapshotSplitInfo.java | 0 .../meta/split/SchemalessSnapshotSplit.java | 0 .../base/source/meta/split/SnapshotSplit.java | 0 .../source/meta/split/SnapshotSplitState.java | 0 .../base/source/meta/split/SourceRecords.java | 0 .../source/meta/split/SourceSplitBase.java | 0 .../meta/split/SourceSplitSerializer.java | 0 .../source/meta/split/SourceSplitState.java | 0 .../base/source/meta/split/StreamSplit.java | 0 .../source/meta/split/StreamSplitState.java | 0 .../meta/wartermark/WatermarkEvent.java | 0 .../source/meta/wartermark/WatermarkKind.java | 0 .../source/metrics/SourceReaderMetrics.java | 0 .../reader/IncrementalSourceReader.java | 0 .../IncrementalSourceRecordEmitter.java | 0 .../reader/IncrementalSourceSplitReader.java | 0 .../source/reader/external/FetchTask.java | 0 .../base/source/reader/external/Fetcher.java | 0 .../IncrementalSourceScanFetcher.java | 0 .../IncrementalSourceStreamFetcher.java | 0 .../external/JdbcSourceFetchTaskContext.java | 0 .../base/utils/EnvironmentUtils.java | 0 .../connectors/base/utils/ObjectUtils.java | 0 .../connectors/base/utils/OptionUtils.java | 0 .../base/utils/SerializerUtils.java | 0 .../base/utils/SourceRecordUtils.java | 0 .../base/utils/VersionComparable.java | 0 .../base/JdbcConnectionPoolTest.java | 0 .../MySqlChangeEventSourceExampleTest.java | 0 .../EmbeddedFlinkDatabaseHistory.java | 0 .../base/experimental/MySqlChunkSplitter.java | 0 .../base/experimental/MySqlDialect.java | 0 .../base/experimental/MySqlSourceBuilder.java | 0 .../MysqlPooledDataSourceFactory.java | 0 .../config/MySqlSourceConfig.java | 0 .../config/MySqlSourceConfigFactory.java | 0 .../experimental/config/ServerIdRange.java | 0 .../fetch/MySqlScanFetchTask.java | 0 .../fetch/MySqlSourceFetchTaskContext.java | 0 .../fetch/MySqlStreamFetchTask.java | 0 .../experimental/offset/BinlogOffset.java | 0 .../offset/BinlogOffsetFactory.java | 0 .../utils/MySqlConnectionUtils.java | 0 .../base/experimental/utils/MySqlSchema.java | 0 .../experimental/utils/MySqlTypeUtils.java | 0 .../base/experimental/utils/MySqlUtils.java | 0 .../utils/TableDiscoveryUtils.java | 0 .../meta/split/SourceSplitSerializerTest.java | 0 .../base/testutils/MySqlContainer.java | 0 .../base/testutils/MySqlVersion.java | 0 .../base/testutils/UniqueDatabase.java | 0 .../src/test/resources/ddl/inventory.sql | 0 .../test/resources/docker/server-gtids/my.cnf | 0 .../src/test/resources/docker/setup.sql | 0 .../src/test/resources/log4j2-test.properties | 0 .../flink-connector-db2-cdc}/pom.xml | 4 +- .../cdc/connectors/db2/Db2Source.java | 0 .../db2/table/Db2ReadableMetaData.java | 0 .../connectors/db2/table/Db2TableSource.java | 0 .../db2/table/Db2TableSourceFactory.java | 0 .../cdc/connectors/db2/table/StartupMode.java | 0 .../connectors/db2/table/StartupOptions.java | 0 .../cdc/connectors/db2/utils/OptionUtils.java | 0 .../org.apache.flink.table.factories.Factory | 0 .../cdc/connectors/db2/Db2SourceTest.java | 0 .../cdc/connectors/db2/Db2TestBase.java | 0 .../db2/table/Db2ConnectorITCase.java | 0 .../db2/table/Db2TableSourceFactoryTest.java | 0 .../src/test/resources/db2_server}/Dockerfile | 0 .../src/test/resources/db2_server}/asncdc.c | 0 .../test/resources/db2_server}/asncdc_UDF.sql | 0 .../resources/db2_server}/asncdcaddremove.sql | 0 .../resources/db2_server}/asncdctables.sql | 0 .../test/resources/db2_server}/cdcsetup.sh | 0 .../resources/db2_server/column_type_test.sql | 0 .../src/test/resources/db2_server/dbsetup.sh | 0 .../test/resources/db2_server}/inventory.sql | 0 .../resources/db2_server}/startup-agent.sql | 0 .../db2_server}/startup-cdc-demo.sql | 0 .../src/test/resources/log4j2-test.properties | 0 .../flink-connector-debezium}/pom.xml | 4 +- .../DebeziumDeserializationSchema.java | 0 .../cdc/debezium/DebeziumSourceFunction.java | 0 .../JsonDebeziumDeserializationSchema.java | 0 .../StringDebeziumDeserializationSchema.java | 0 .../com/ververica/cdc/debezium/Validator.java | 0 .../FlinkJsonTableChangeSerializer.java | 0 .../internal/DebeziumChangeConsumer.java | 0 .../internal/DebeziumChangeFetcher.java | 0 .../cdc/debezium/internal/DebeziumOffset.java | 0 .../internal/DebeziumOffsetSerializer.java | 0 .../internal/FlinkDatabaseHistory.java | 0 .../internal/FlinkDatabaseSchemaHistory.java | 0 .../internal/FlinkOffsetBackingStore.java | 0 .../cdc/debezium/internal/Handover.java | 0 .../cdc/debezium/internal/SchemaRecord.java | 0 .../table/AppendMetadataCollector.java | 0 .../debezium/table/DebeziumChangelogMode.java | 0 .../cdc/debezium/table/DebeziumOptions.java | 0 .../DeserializationRuntimeConverter.java | 0 ...eserializationRuntimeConverterFactory.java | 0 .../cdc/debezium/table/MetadataConverter.java | 0 .../RowDataDebeziumDeserializeSchema.java | 0 .../debezium/utils/DatabaseHistoryUtil.java | 0 .../cdc/debezium/utils/JdbcUrlUtils.java | 0 .../debezium/utils/ResolvedSchemaUtils.java | 0 .../debezium/utils/TemporalConversions.java | 0 .../embedded/EmbeddedEngineChangeEvent.java | 0 ...izedRelationalDatabaseConnectorConfig.java | 0 .../RelationalChangeRecordEmitter.java | 0 .../flink-connector-mongodb-cdc}/pom.xml | 4 +- .../cdc/connectors/mongodb/MongoDBSource.java | 0 .../MongoDBConnectorSourceConnector.java | 0 .../internal/MongoDBConnectorSourceTask.java | 0 .../mongodb/internal/MongoDBEnvelope.java | 0 .../mongodb/source/MongoDBSource.java | 0 .../mongodb/source/MongoDBSourceBuilder.java | 0 .../splitters/MongoDBChunkSplitter.java | 0 .../splitters/SampleBucketSplitStrategy.java | 0 .../splitters/ShardedSplitStrategy.java | 0 .../splitters/SingleSplitStrategy.java | 0 .../assigners/splitters/SplitContext.java | 0 .../assigners/splitters/SplitStrategy.java | 0 .../splitters/SplitVectorSplitStrategy.java | 0 .../source/config/MongoDBSourceConfig.java | 0 .../config/MongoDBSourceConfigFactory.java | 0 .../source/config/MongoDBSourceOptions.java | 0 .../source/connection/MongoClientPool.java | 0 .../source/dialect/MongoDBDialect.java | 0 .../source/offset/ChangeStreamDescriptor.java | 0 .../source/offset/ChangeStreamOffset.java | 0 .../offset/ChangeStreamOffsetFactory.java | 0 .../source/reader/MongoDBRecordEmitter.java | 0 .../reader/fetch/MongoDBFetchTaskContext.java | 0 .../reader/fetch/MongoDBScanFetchTask.java | 0 .../reader/fetch/MongoDBStreamFetchTask.java | 0 .../mongodb/source/utils/BsonUtils.java | 0 .../mongodb/source/utils/ChunkUtils.java | 0 .../utils/CollectionDiscoveryUtils.java | 0 .../source/utils/MongoRecordUtils.java | 0 .../mongodb/source/utils/MongoUtils.java | 0 .../source/utils/ResumeTokenUtils.java | 0 ...MongoDBConnectorDeserializationSchema.java | 0 ...torFullChangelogDeserializationSchema.java | 0 .../table/MongoDBReadableMetadata.java | 0 .../mongodb/table/MongoDBTableSource.java | 0 .../table/MongoDBTableSourceFactory.java | 0 .../org.apache.flink.table.factories.Factory | 0 .../mongodb/LegacyMongoDBContainer.java | 0 .../LegacyMongoDBSourceExampleTest.java | 0 .../mongodb/LegacyMongoDBSourceTest.java | 0 .../mongodb/LegacyMongoDBSourceTestBase.java | 0 .../mongodb/LegacyMongoDBTestBase.java | 0 .../source/MongoDBFullChangelogITCase.java | 0 .../MongoDBParallelSourceExampleTest.java | 0 .../source/MongoDBParallelSourceITCase.java | 0 .../mongodb/source/MongoDBSourceTestBase.java | 0 .../MongoDBSnapshotSplitReaderTest.java | 0 .../reader/MongoDBStreamSplitReaderTest.java | 0 .../mongodb/source/utils/BsonUtilsTest.java | 0 .../source/utils/ResumeTokenUtilsTest.java | 0 .../mongodb/table/MongoDBConnectorITCase.java | 0 .../table/MongoDBRegexFilterITCase.java | 0 .../table/MongoDBTableFactoryTest.java | 0 .../mongodb/table/MongoDBTimeZoneITCase.java | 0 .../mongodb/utils/MongoDBAssertUtils.java | 0 .../mongodb/utils/MongoDBContainer.java | 0 .../mongodb/utils/MongoDBTestUtils.java | 0 .../src/test/resources/ddl/chunk_test.js | 0 .../test/resources/ddl/column_type_test.js | 0 .../src/test/resources/ddl/customer.js | 0 .../src/test/resources/ddl/inventory.js | 0 .../src/test/resources/ddl/ns-dotted.js | 0 .../src/test/resources/ddl/ns-regex.js | 0 .../src/test/resources/ddl/ns_regex.js | 0 .../test/resources/docker/mongodb/random.key | 0 .../test/resources/docker/mongodb/setup.js | 0 .../src/test/resources/log4j2-test.properties | 0 .../flink-connector-mysql-cdc}/pom.xml | 4 +- .../event/deserialization/ColumnType.java | 0 .../TableMapEventDataDeserializer.java | 0 .../binlog/io/BufferedSocketInputStream.java | 0 .../cdc/connectors/mysql/MySqlSource.java | 0 .../cdc/connectors/mysql/MySqlValidator.java | 0 .../mysql/SeekBinlogToTimestampFilter.java | 0 .../mysql/debezium/DebeziumUtils.java | 0 .../EmbeddedFlinkDatabaseHistory.java | 0 .../dispatcher/EventDispatcherImpl.java | 0 .../dispatcher/SignalEventDispatcher.java | 0 .../debezium/reader/BinlogSplitReader.java | 0 .../mysql/debezium/reader/DebeziumReader.java | 0 .../debezium/reader/SnapshotSplitReader.java | 0 .../task/MySqlBinlogSplitReadTask.java | 0 .../task/MySqlSnapshotSplitReadTask.java | 0 .../task/context/MySqlErrorHandler.java | 0 .../task/context/MySqlTaskContextImpl.java | 0 .../task/context/StatefulTaskContext.java | 0 .../exception/SchemaOutOfSyncException.java | 0 .../connectors/mysql/schema/MySqlSchema.java | 0 .../mysql/schema/MySqlTableDefinition.java | 0 .../mysql/schema/MySqlTypeUtils.java | 0 .../connectors/mysql/source/MySqlSource.java | 0 .../mysql/source/MySqlSourceBuilder.java | 0 .../source/assigners/AssignerStatus.java | 0 .../mysql/source/assigners/ChunkRange.java | 0 .../mysql/source/assigners/ChunkSplitter.java | 0 .../assigners/MySqlBinlogSplitAssigner.java | 0 .../source/assigners/MySqlChunkSplitter.java | 0 .../assigners/MySqlHybridSplitAssigner.java | 0 .../assigners/MySqlSnapshotSplitAssigner.java | 0 .../source/assigners/MySqlSplitAssigner.java | 0 .../state/BinlogPendingSplitsState.java | 0 .../assigners/state/ChunkSplitterState.java | 0 .../state/HybridPendingSplitsState.java | 0 .../assigners/state/PendingSplitsState.java | 0 .../state/PendingSplitsStateSerializer.java | 0 .../state/SnapshotPendingSplitsState.java | 0 .../source/config/MySqlSourceConfig.java | 0 .../config/MySqlSourceConfigFactory.java | 0 .../source/config/MySqlSourceOptions.java | 0 .../mysql/source/config/ServerIdRange.java | 0 .../source/connection/ConnectionPoolId.java | 0 .../source/connection/ConnectionPools.java | 0 .../connection/JdbcConnectionFactory.java | 0 .../connection/JdbcConnectionPools.java | 0 .../connection/PooledDataSourceFactory.java | 0 .../enumerator/MySqlSourceEnumerator.java | 0 .../events/BinlogSplitAssignedEvent.java | 0 .../source/events/BinlogSplitMetaEvent.java | 0 .../events/BinlogSplitMetaRequestEvent.java | 0 .../events/BinlogSplitUpdateAckEvent.java | 0 .../events/BinlogSplitUpdateRequestEvent.java | 0 .../FinishedSnapshotSplitsAckEvent.java | 0 .../FinishedSnapshotSplitsReportEvent.java | 0 .../FinishedSnapshotSplitsRequestEvent.java | 0 .../LatestFinishedSplitsNumberEvent.java | 0 ...atestFinishedSplitsNumberRequestEvent.java | 0 .../metrics/MySqlSourceReaderMetrics.java | 0 .../mysql/source/offset/BinlogOffset.java | 0 .../source/offset/BinlogOffsetBuilder.java | 0 .../mysql/source/offset/BinlogOffsetKind.java | 0 .../source/offset/BinlogOffsetSerializer.java | 0 .../source/offset/BinlogOffsetUtils.java | 0 .../source/reader/MySqlRecordEmitter.java | 0 .../source/reader/MySqlSourceReader.java | 0 .../reader/MySqlSourceReaderContext.java | 0 .../mysql/source/reader/MySqlSplitReader.java | 0 .../split/FinishedSnapshotSplitInfo.java | 0 .../mysql/source/split/MySqlBinlogSplit.java | 0 .../source/split/MySqlBinlogSplitState.java | 0 .../mysql/source/split/MySqlRecords.java | 0 .../split/MySqlSchemalessSnapshotSplit.java | 0 .../source/split/MySqlSnapshotSplit.java | 0 .../source/split/MySqlSnapshotSplitState.java | 0 .../mysql/source/split/MySqlSplit.java | 0 .../source/split/MySqlSplitSerializer.java | 0 .../mysql/source/split/MySqlSplitState.java | 0 .../mysql/source/split/SourceRecords.java | 0 .../mysql/source/utils/ChunkUtils.java | 0 .../mysql/source/utils/EnvironmentUtils.java | 0 .../mysql/source/utils/ObjectUtils.java | 0 .../mysql/source/utils/RecordUtils.java | 0 .../mysql/source/utils/SerializerUtils.java | 0 .../mysql/source/utils/StatementUtils.java | 0 .../source/utils/TableDiscoveryUtils.java | 0 .../mysql/source/utils/VersionComparable.java | 0 .../MySqlDeserializationConverterFactory.java | 0 .../mysql/table/MySqlReadableMetadata.java | 0 .../mysql/table/MySqlTableSource.java | 0 .../mysql/table/MySqlTableSourceFactory.java | 0 .../connectors/mysql/table/StartupMode.java | 0 .../mysql/table/StartupOptions.java | 0 .../connectors/mysql/utils/OptionUtils.java | 0 .../debezium/connector/mysql/GtidUtils.java | 0 .../connector/mysql/MySqlConnection.java | 0 .../mysql/MySqlDefaultValueConverter.java | 0 .../MySqlStreamingChangeEventSource.java | 0 .../listener/DefaultValueParserListener.java | 0 .../mysql/util/ErrorMessageUtils.java | 0 .../org.apache.flink.table.factories.Factory | 0 .../TableMapEventDataDeserializerTest.java | 0 .../io/BufferedSocketInputStreamTest.java | 0 .../mysql/LegacyMySqlSourceExampleTest.java | 0 .../mysql/LegacyMySqlSourceITCase.java | 0 .../mysql/LegacyMySqlSourceTest.java | 0 .../connectors/mysql/LegacyMySqlTestBase.java | 0 .../cdc/connectors/mysql/MySqlTestUtils.java | 0 .../connectors/mysql/MySqlValidatorTest.java | 0 .../mysql/debezium/DebeziumUtilsTest.java | 0 .../reader/BinlogSplitReaderTest.java | 0 .../reader/SnapshotSplitReaderTest.java | 0 .../mysql/source/MySqlSourceExampleTest.java | 0 .../mysql/source/MySqlSourceITCase.java | 0 .../mysql/source/MySqlSourceTestBase.java | 0 .../mysql/source/NewlyAddedTableITCase.java | 0 .../source/SpecificStartingOffsetITCase.java | 0 .../MySqlBinlogSplitAssignerTest.java | 0 .../assigners/MySqlChunkSplitterTest.java | 0 .../MySqlHybridSplitAssignerTest.java | 0 .../MySqlSnapshotSplitAssignerTest.java | 0 .../PendingSplitsStateSerializerTest.java | 0 .../source/reader/MySqlRecordEmitterTest.java | 0 .../source/reader/MySqlSourceReaderTest.java | 0 .../split/MySqlSplitSerializerTest.java | 0 .../source/split/MySqlSplitStateTest.java | 0 .../mysql/source/utils/ObjectUtilsTest.java | 0 .../mysql/source/utils/RecordUtilsTest.java | 0 .../source/utils/SerializerUtilsTest.java | 0 .../mysql/table/MySqlCompatibilityITCase.java | 0 .../mysql/table/MySqlConnectorITCase.java | 0 .../table/MySqlTableSourceFactoryTest.java | 0 .../mysql/table/MySqlTimezoneITCase.java | 0 .../table/MysqlConnectorCharsetITCase.java | 0 .../mysql/testutils/MySqlContainer.java | 0 .../mysql/testutils/MySqlVersion.java | 0 .../mysql/testutils/RecordsFormatter.java | 0 .../connectors/mysql/testutils/TestTable.java | 0 .../mysql/testutils/TestTableSchemas.java | 0 .../mysql/testutils/UniqueDatabase.java | 0 .../polardbx/PolardbxCharsetITCase.java | 0 .../polardbx/PolardbxSourceITCase.java | 0 .../polardbx/PolardbxSourceTestBase.java | 0 .../connector/mysql/GtidUtilsTest.java | 0 .../mysql/util/ErrorMessageUtilsTest.java | 0 .../src/test/resources/ddl/charset_test.sql | 0 .../test/resources/ddl/column_type_test.sql | 0 .../resources/ddl/column_type_test_mysql8.sql | 0 .../src/test/resources/ddl/customer.sql | 0 .../src/test/resources/ddl/customer3.0.sql | 0 .../src/test/resources/ddl/inventory.sql | 0 .../test/resources/ddl/polardbx_ddl_test.sql | 0 .../src/test/resources/ddl/user_1.sql | 0 .../src/test/resources/ddl/user_2.sql | 0 .../docker/server-gtids/expire-seconds/my.cnf | 0 .../test/resources/docker/server-gtids/my.cnf | 0 .../src/test/resources/docker/server/my.cnf | 0 .../src/test/resources/docker}/setup.sql | 0 ...a-schema-exclude-with-numeric-decimal.json | 0 .../file/debezium-data-schema-exclude.json | 0 .../file/debezium-data-schema-include.json | 0 .../src/test/resources/log4j2-test.properties | 0 .../flink-connector-oceanbase-cdc}/pom.xml | 4 +- .../connectors/oceanbase/OceanBaseSource.java | 0 .../oceanbase/source/OceanBaseConnection.java | 0 ...anBaseDeserializationRuntimeConverter.java | 0 .../source/OceanBaseRichSourceFunction.java | 0 ...RowDataOceanBaseDeserializationSchema.java | 0 .../OceanBaseAppendMetadataCollector.java | 0 .../table/OceanBaseDeserializationSchema.java | 0 .../table/OceanBaseMetadataConverter.java | 0 .../table/OceanBaseReadableMetadata.java | 0 .../oceanbase/table/OceanBaseRecord.java | 0 .../oceanbase/table/OceanBaseTableSource.java | 0 .../table/OceanBaseTableSourceFactory.java | 0 .../oceanbase/table/StartupMode.java | 0 .../oceanbase/utils/OptionUtils.java | 0 .../org.apache.flink.table.factories.Factory | 0 .../oceanbase/OceanBaseTestBase.java | 0 .../table/OceanBaseConnectorITCase.java | 0 .../table/OceanBaseTableFactoryTest.java | 0 .../test/resources/ddl/column_type_test.sql | 0 .../src/test/resources/ddl/inventory.sql | 0 .../src/test/resources/ddl/inventory_meta.sql | 0 .../src/test/resources/log4j2-test.properties | 0 .../flink-connector-oracle-cdc}/pom.xml | 10 +- .../cdc/connectors/oracle/OracleSource.java | 0 .../connectors/oracle/OracleValidator.java | 0 .../oracle/source/OracleDialect.java | 0 .../source/OraclePooledDataSourceFactory.java | 0 .../oracle/source/OracleSourceBuilder.java | 0 .../splitter/OracleChunkSplitter.java | 0 .../source/config/OracleSourceConfig.java | 0 .../config/OracleSourceConfigFactory.java | 0 .../source/config/OracleSourceOptions.java | 0 .../source/meta/offset/RedoLogOffset.java | 0 .../meta/offset/RedoLogOffsetFactory.java | 0 .../reader/fetch/OracleScanFetchTask.java | 0 .../fetch/OracleSourceFetchTaskContext.java | 0 .../reader/fetch/OracleStreamFetchTask.java | 0 .../source/utils/OracleConnectionUtils.java | 0 .../oracle/source/utils/OracleSchema.java | 0 .../oracle/source/utils/OracleTypeUtils.java | 0 .../oracle/source/utils/OracleUtils.java | 0 ...OracleDeserializationConverterFactory.java | 0 .../oracle/table/OracleReadableMetaData.java | 0 .../oracle/table/OracleTableSource.java | 0 .../table/OracleTableSourceFactory.java | 0 .../connectors/oracle/util/ChunkUtils.java | 0 .../oracle/util/OracleJdbcUrlUtils.java | 0 .../oracle/logminer/LogMinerAdapter.java | 0 .../logminer/LogMinerChangeRecordEmitter.java | 0 .../LogMinerStreamingChangeEventSource.java | 0 .../AbstractLogMinerEventProcessor.java | 0 .../org.apache.flink.table.factories.Factory | 0 .../OracleChangeEventSourceExampleTest.java | 0 .../connectors/oracle/OracleSourceTest.java | 0 .../oracle/source/OracleSourceITCase.java | 0 .../oracle/source/OracleSourceTestBase.java | 0 .../oracle/table/OracleConnectorITCase.java | 0 .../table/OracleTableSourceFactoryTest.java | 0 .../containers/OracleContainer.java | 0 .../test/resources/ddl/column_type_test.sql | 0 .../src/test/resources/ddl/customer.sql | 0 .../src/test/resources/ddl/product.sql | 0 .../src/test/resources/log4j2-test.properties | 0 .../flink-connector-postgres-cdc}/pom.xml | 4 +- .../connectors/postgres/PostgreSQLSource.java | 0 .../source/PostgresChunkSplitter.java | 0 .../source/PostgresConnectionPoolFactory.java | 0 .../postgres/source/PostgresDialect.java | 0 .../source/PostgresSourceBuilder.java | 0 .../source/config/PostgresSourceConfig.java | 0 .../config/PostgresSourceConfigFactory.java | 0 .../source/config/PostgresSourceOptions.java | 0 .../enumerator/PostgresSourceEnumerator.java | 0 .../source/fetch/PostgresScanFetchTask.java | 0 .../fetch/PostgresSourceFetchTaskContext.java | 0 .../source/fetch/PostgresStreamFetchTask.java | 0 .../source/offset/PostgresOffset.java | 0 .../source/offset/PostgresOffsetFactory.java | 0 .../source/offset/PostgresOffsetUtils.java | 0 .../postgres/source/utils/ChunkUtils.java | 0 .../source/utils/CustomPostgresSchema.java | 0 .../source/utils/PostgresQueryUtils.java | 0 .../source/utils/PostgresTypeUtils.java | 0 .../source/utils/TableDiscoveryUtils.java | 0 ...greSQLDeserializationConverterFactory.java | 0 .../table/PostgreSQLReadableMetadata.java | 0 .../table/PostgreSQLTableFactory.java | 0 .../postgres/table/PostgreSQLTableSource.java | 0 .../table/PostgresValueValidator.java | 0 .../postgres/utils/OptionUtils.java | 0 .../postgresql/PostgresObjectUtils.java | 0 .../PostgresStreamingChangeEventSource.java | 0 .../debezium/connector/postgresql/Utils.java | 0 .../connector/postgresql/connection/Lsn.java | 0 .../connection/PostgresConnection.java | 0 .../PostgresReplicationConnection.java | 0 .../org.apache.flink.table.factories.Factory | 0 .../postgres/PostgreSQLSourceTest.java | 0 .../connectors/postgres/PostgresTestBase.java | 0 .../postgres/source/PostgresDialectTest.java | 0 .../source/PostgresSourceExampleTest.java | 0 .../postgres/source/PostgresSourceITCase.java | 0 .../PostgresSourceFetchTaskContextTest.java | 0 .../table/PostgreSQLConnectorITCase.java | 0 .../table/PostgreSQLSavepointITCase.java | 0 .../table/PostgreSQLTableFactoryTest.java | 0 .../postgres/testutils/TestHelper.java | 0 .../postgres/testutils/UniqueDatabase.java | 0 .../test/resources/ddl/column_type_test.sql | 0 .../src/test/resources/ddl/customer.sql | 0 .../src/test/resources/ddl/inventory.sql | 0 .../test/resources/ddl/replica_identity.sql | 0 .../src/test/resources/log4j2-test.properties | 0 .../flink-connector-sqlserver-cdc}/pom.xml | 4 +- .../connectors/sqlserver/SqlServerSource.java | 0 .../sqlserver/SqlServerValidator.java | 0 .../source/SqlServerSourceBuilder.java | 0 .../source/config/SqlServerSourceConfig.java | 0 .../config/SqlServerSourceConfigFactory.java | 0 .../dialect/SqlServerChunkSplitter.java | 0 .../source/dialect/SqlServerDialect.java | 0 .../SqlServerPooledDataSourceFactory.java | 0 .../source/dialect/SqlServerSchema.java | 0 .../sqlserver/source/offset/LsnFactory.java | 0 .../sqlserver/source/offset/LsnOffset.java | 0 .../reader/fetch/SqlServerScanFetchTask.java | 0 .../SqlServerSourceFetchTaskContext.java | 0 .../fetch/SqlServerStreamFetchTask.java | 0 .../utils/SqlServerConnectionUtils.java | 0 .../source/utils/SqlServerTypeUtils.java | 0 .../source/utils/SqlServerUtils.java | 0 ...ServerDeserializationConverterFactory.java | 0 .../table/SqlServerReadableMetadata.java | 0 .../table/SqlServerTableFactory.java | 0 .../sqlserver/table/SqlServerTableSource.java | 0 .../sqlserver/table/StartupMode.java | 0 .../SqlServerStreamingChangeEventSource.java | 0 .../org.apache.flink.table.factories.Factory | 0 .../SqlServerParallelSourceExampleTest.java | 0 .../sqlserver/SqlServerTestBase.java | 0 .../source/SqlServerSourceITCase.java | 0 .../source/SqlServerSourceTestBase.java | 0 .../fetch/SqlServerScanFetchTaskTest.java | 0 .../table/SqlServerConnectorITCase.java | 0 .../table/SqlServerTableFactoryTest.java | 0 .../table/SqlServerTimezoneITCase.java | 0 .../sqlserver/testutils/RecordsFormatter.java | 0 .../container-license-acceptance.txt | 0 .../test/resources/ddl/column_type_test.sql | 0 .../src/test/resources/ddl/customer.sql | 0 .../src/test/resources/ddl/inventory.sql | 0 .../src/test/resources/ddl/product.sql | 0 .../src/test/resources/log4j2-test.properties | 0 .../flink-connector-test-util}/pom.xml | 4 +- .../cdc/connectors/utils/AssertUtils.java | 0 .../connectors/utils/TestSourceContext.java | 0 .../flink-connector-tidb-cdc}/pom.xml | 4 +- .../cdc/connectors/tidb/TDBSourceOptions.java | 0 .../cdc/connectors/tidb/TiDBSource.java | 0 .../TiKVChangeEventDeserializationSchema.java | 0 .../tidb/TiKVRichParallelSourceFunction.java | 0 ...iKVSnapshotEventDeserializationSchema.java | 0 ...aTiKVChangeEventDeserializationSchema.java | 0 ...ataTiKVEventDeserializationSchemaBase.java | 0 ...iKVSnapshotEventDeserializationSchema.java | 0 .../connectors/tidb/table/StartupMode.java | 0 .../connectors/tidb/table/StartupOptions.java | 0 .../tidb/table/TiDBTableSource.java | 0 .../tidb/table/TiDBTableSourceFactory.java | 0 .../table/TiKVAppendMetadataCollector.java | 0 .../TiKVDeserializationRuntimeConverter.java | 0 .../tidb/table/TiKVMetadataConverter.java | 0 .../tidb/table/TiKVReadableMetadata.java | 0 .../tidb/table/utils/OptionUtils.java | 0 .../tidb/table/utils/TableKeyRangeUtils.java | 0 .../src/main/java/org/tikv/cdc/CDCClient.java | 0 .../src/main/java/org/tikv/cdc/CDCEvent.java | 0 .../java/org/tikv/cdc/RegionCDCClient.java | 0 .../operation/iterator/ScanIterator.java | 0 .../org/tikv/common/util/ChannelFactory.java | 0 .../org.apache.flink.table.factories.Factory | 0 .../cdc/connectors/tidb/TiDBTestBase.java | 0 .../tidb/table/TiDBConnectorITCase.java | 0 .../tidb/table/TiDBConnectorRegionITCase.java | 0 .../table/TiDBTableSourceFactoryTest.java | 0 .../src/test/resources/config}/pd.toml | 0 .../src/test/resources/config}/tidb.toml | 0 .../src/test/resources/config}/tikv.toml | 0 .../test/resources/ddl/column_type_test.sql | 0 .../src/test/resources/ddl/inventory.sql | 0 .../test/resources/ddl/region_switch_test.sql | 0 .../src/test/resources/log4j2-test.properties | 0 .../flink-connector-vitess-cdc}/pom.xml | 4 +- .../cdc/connectors/vitess/VitessSource.java | 0 .../connectors/vitess/VitessValidator.java | 0 .../vitess/config/SchemaAdjustmentMode.java | 0 .../connectors/vitess/config/TabletType.java | 0 .../vitess/table/VitessTableFactory.java | 0 .../vitess/table/VitessTableSource.java | 0 .../org.apache.flink.table.factories.Factory | 0 .../connectors/vitess/VitessSourceTest.java | 0 .../cdc/connectors/vitess/VitessTestBase.java | 0 .../vitess/container/VitessContainer.java | 0 .../vitess/table/VitessConnectorITCase.java | 0 .../vitess/table/VitessTableFactoryTest.java | 0 .../test/resources/ddl/column_type_test.sql | 0 .../src/test/resources/ddl/inventory.sql | 0 .../src/test/resources/log4j2-test.properties | 0 .../flink-sql-connector-db2-cdc}/pom.xml | 4 +- .../cdc/connectors/db2/DummyDocs.java | 0 .../src/main/resources/META-INF/NOTICE | 0 .../flink-sql-connector-mongodb-cdc}/pom.xml | 4 +- .../cdc/connectors/mongodb/DummyDocs.java | 0 .../src/main/resources/META-INF/NOTICE | 0 .../flink-sql-connector-mysql-cdc}/pom.xml | 4 +- .../cdc/connectors/mysql/DummyDocs.java | 0 .../src/main/resources/META-INF/NOTICE | 0 .../pom.xml | 4 +- .../cdc/connectors/oceanbase/DummyDocs.java | 0 .../src/main/resources/META-INF/NOTICE | 0 .../flink-sql-connector-oracle-cdc}/pom.xml | 4 +- .../cdc/connectors/oracle/DummyDocs.java | 0 .../src/main/resources/META-INF/NOTICE | 0 .../flink-sql-connector-postgres-cdc}/pom.xml | 4 +- .../cdc/connectors/postgres/DummyDocs.java | 0 .../src/main/resources/META-INF/NOTICE | 0 .../pom.xml | 4 +- .../cdc/connectors/sqlserver/DummyDocs.java | 0 .../src/main/resources/META-INF/NOTICE | 0 .../flink-sql-connector-tidb-cdc}/pom.xml | 4 +- .../src/main/java/DummyDocs.java | 0 .../flink-sql-connector-vitess-cdc}/pom.xml | 4 +- .../cdc/connectors/vitess/DummyDocs.java | 0 .../flink-cdc-source-connectors/pom.xml | 53 +++ flink-cdc-connect/pom.xml | 34 ++ flink-cdc-dist/pom.xml | 65 ++++ .../flink-cdc-pipeline-e2e-tests/pom.xml | 28 ++ .../flink-cdc-source-e2e-tests/pom.xml | 361 ++++++++++++++++++ .../cdc/connectors/tests/Db2E2eITCase.java | 0 .../cdc/connectors/tests/MongoE2eITCase.java | 0 .../cdc/connectors/tests/MySqlE2eITCase.java | 0 .../cdc/connectors/tests/OracleE2eITCase.java | 0 .../connectors/tests/PostgresE2eITCase.java | 0 .../connectors/tests/SqlServerE2eITCase.java | 0 .../cdc/connectors/tests/TiDBE2eITCase.java | 0 .../cdc/connectors/tests/VitessE2eITCase.java | 0 .../utils/FlinkContainerTestEnvironment.java | 0 .../cdc/connectors/tests/utils/JdbcProxy.java | 0 .../tests/utils/ParameterProperty.java | 0 .../tests/utils/SQLJobSubmission.java | 0 .../cdc/connectors/tests/utils/TestUtils.java | 0 .../container-license-acceptance.txt | 0 .../src/test/resources/ddl/mongo_inventory.js | 0 .../test/resources/ddl/mysql_inventory.sql | 0 .../test/resources/ddl/postgres_inventory.sql | 0 .../resources/ddl/sqlserver_inventory.sql | 0 .../src/test/resources/ddl/tidb_inventory.sql | 0 .../test/resources/ddl/vitess_inventory.sql | 0 .../src/test/resources/docker/db2}/Dockerfile | 0 .../src/test/resources/docker/db2}/asncdc.c | 0 .../test/resources/docker/db2}/asncdc_UDF.sql | 0 .../resources/docker/db2}/asncdcaddremove.sql | 0 .../resources/docker/db2}/asncdctables.sql | 0 .../test/resources/docker/db2}/cdcsetup.sh | 0 .../resources/docker/db2/column_type_test.sql | 0 .../src/test/resources/docker/db2/dbsetup.sh | 0 .../test/resources/docker/db2}/inventory.sql | 0 .../resources/docker/db2}/startup-agent.sql | 0 .../docker/db2}/startup-cdc-demo.sql | 0 .../test/resources/docker/mongodb/random.key | 0 .../test/resources/docker/mongodb/setup.js | 0 .../src/test/resources/docker/mysql/my.cnf | 1 + .../test/resources/docker/mysql}/setup.sql | 0 .../src/test/resources/docker/tidb}/pd.toml | 0 .../src/test/resources/docker/tidb}/tidb.toml | 0 .../src/test/resources/docker/tidb}/tikv.toml | 0 .../src/test/resources/log4j2-test.properties | 0 flink-cdc-e2e-tests/pom.xml | 340 +---------------- flink-cdc-runtime/pom.xml | 28 ++ pom.xml | 38 +- tools/ci/stage.sh | 38 +- 669 files changed, 767 insertions(+), 422 deletions(-) create mode 100644 flink-cdc-cli/pom.xml create mode 100644 flink-cdc-common/pom.xml create mode 100644 flink-cdc-composer/pom.xml create mode 100644 flink-cdc-connect/flink-cdc-pipeline-connectors/pom.xml rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/pom.xml (97%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/config/BaseSourceConfig.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/config/JdbcSourceConfig.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/config/JdbcSourceConfigFactory.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/config/SourceConfig.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/dialect/DataSourceDialect.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/dialect/JdbcDataSourceDialect.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/options/JdbcSourceOptions.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/options/SourceOptions.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/options/StartupMode.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/options/StartupOptions.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/relational/JdbcSourceEventDispatcher.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/relational/connection/ConnectionPoolId.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/relational/connection/ConnectionPools.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/relational/connection/JdbcConnectionFactory.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/relational/connection/JdbcConnectionPoolFactory.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/relational/connection/JdbcConnectionPools.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/source/EmbeddedFlinkDatabaseHistory.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/source/IncrementalSource.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/source/assigner/HybridSplitAssigner.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/source/assigner/SnapshotSplitAssigner.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/source/assigner/SplitAssigner.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/source/assigner/StreamSplitAssigner.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/source/assigner/splitter/ChunkRange.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/source/assigner/splitter/ChunkSplitter.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/source/assigner/splitter/JdbcSourceChunkSplitter.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/source/assigner/state/HybridPendingSplitsState.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/source/assigner/state/PendingSplitsState.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/source/assigner/state/PendingSplitsStateSerializer.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/source/assigner/state/SnapshotPendingSplitsState.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/source/assigner/state/StreamPendingSplitsState.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/source/enumerator/IncrementalSourceEnumerator.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/source/jdbc/JdbcIncrementalSource.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/source/meta/events/FinishedSnapshotSplitsAckEvent.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/source/meta/events/FinishedSnapshotSplitsReportEvent.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/source/meta/events/FinishedSnapshotSplitsRequestEvent.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/source/meta/events/StreamSplitMetaEvent.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/source/meta/events/StreamSplitMetaRequestEvent.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/source/meta/offset/Offset.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/source/meta/offset/OffsetDeserializerSerializer.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/source/meta/offset/OffsetFactory.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/source/meta/split/ChangeEventRecords.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/source/meta/split/FinishedSnapshotSplitInfo.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/source/meta/split/SchemalessSnapshotSplit.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/source/meta/split/SnapshotSplit.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/source/meta/split/SnapshotSplitState.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/source/meta/split/SourceRecords.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/source/meta/split/SourceSplitBase.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/source/meta/split/SourceSplitSerializer.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/source/meta/split/SourceSplitState.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/source/meta/split/StreamSplit.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/source/meta/split/StreamSplitState.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/source/meta/wartermark/WatermarkEvent.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/source/meta/wartermark/WatermarkKind.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/source/metrics/SourceReaderMetrics.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/source/reader/IncrementalSourceReader.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/source/reader/IncrementalSourceRecordEmitter.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/source/reader/IncrementalSourceSplitReader.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/source/reader/external/FetchTask.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/source/reader/external/Fetcher.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/source/reader/external/IncrementalSourceScanFetcher.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/source/reader/external/IncrementalSourceStreamFetcher.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/source/reader/external/JdbcSourceFetchTaskContext.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/utils/EnvironmentUtils.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/utils/ObjectUtils.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/utils/OptionUtils.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/utils/SerializerUtils.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/utils/SourceRecordUtils.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/main/java/com/ververica/cdc/connectors/base/utils/VersionComparable.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/test/java/com/ververica/cdc/connectors/base/JdbcConnectionPoolTest.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/test/java/com/ververica/cdc/connectors/base/MySqlChangeEventSourceExampleTest.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/test/java/com/ververica/cdc/connectors/base/experimental/EmbeddedFlinkDatabaseHistory.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/test/java/com/ververica/cdc/connectors/base/experimental/MySqlChunkSplitter.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/test/java/com/ververica/cdc/connectors/base/experimental/MySqlDialect.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/test/java/com/ververica/cdc/connectors/base/experimental/MySqlSourceBuilder.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/test/java/com/ververica/cdc/connectors/base/experimental/MysqlPooledDataSourceFactory.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/test/java/com/ververica/cdc/connectors/base/experimental/config/MySqlSourceConfig.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/test/java/com/ververica/cdc/connectors/base/experimental/config/MySqlSourceConfigFactory.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/test/java/com/ververica/cdc/connectors/base/experimental/config/ServerIdRange.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/test/java/com/ververica/cdc/connectors/base/experimental/fetch/MySqlScanFetchTask.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/test/java/com/ververica/cdc/connectors/base/experimental/fetch/MySqlSourceFetchTaskContext.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/test/java/com/ververica/cdc/connectors/base/experimental/fetch/MySqlStreamFetchTask.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/test/java/com/ververica/cdc/connectors/base/experimental/offset/BinlogOffset.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/test/java/com/ververica/cdc/connectors/base/experimental/offset/BinlogOffsetFactory.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/test/java/com/ververica/cdc/connectors/base/experimental/utils/MySqlConnectionUtils.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/test/java/com/ververica/cdc/connectors/base/experimental/utils/MySqlSchema.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/test/java/com/ververica/cdc/connectors/base/experimental/utils/MySqlTypeUtils.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/test/java/com/ververica/cdc/connectors/base/experimental/utils/MySqlUtils.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/test/java/com/ververica/cdc/connectors/base/experimental/utils/TableDiscoveryUtils.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/test/java/com/ververica/cdc/connectors/base/source/meta/split/SourceSplitSerializerTest.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/test/java/com/ververica/cdc/connectors/base/testutils/MySqlContainer.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/test/java/com/ververica/cdc/connectors/base/testutils/MySqlVersion.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/test/java/com/ververica/cdc/connectors/base/testutils/UniqueDatabase.java (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/test/resources/ddl/inventory.sql (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/test/resources/docker/server-gtids/my.cnf (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/test/resources/docker/setup.sql (100%) rename {flink-cdc-base => flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base}/src/test/resources/log4j2-test.properties (100%) rename {flink-connector-db2-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc}/pom.xml (97%) rename {flink-connector-db2-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc}/src/main/java/com/ververica/cdc/connectors/db2/Db2Source.java (100%) rename {flink-connector-db2-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc}/src/main/java/com/ververica/cdc/connectors/db2/table/Db2ReadableMetaData.java (100%) rename {flink-connector-db2-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc}/src/main/java/com/ververica/cdc/connectors/db2/table/Db2TableSource.java (100%) rename {flink-connector-db2-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc}/src/main/java/com/ververica/cdc/connectors/db2/table/Db2TableSourceFactory.java (100%) rename {flink-connector-db2-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc}/src/main/java/com/ververica/cdc/connectors/db2/table/StartupMode.java (100%) rename {flink-connector-db2-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc}/src/main/java/com/ververica/cdc/connectors/db2/table/StartupOptions.java (100%) rename {flink-connector-db2-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc}/src/main/java/com/ververica/cdc/connectors/db2/utils/OptionUtils.java (100%) rename {flink-connector-db2-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc}/src/main/resources/META-INF/services/org.apache.flink.table.factories.Factory (100%) rename {flink-connector-db2-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc}/src/test/java/com/ververica/cdc/connectors/db2/Db2SourceTest.java (100%) rename {flink-connector-db2-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc}/src/test/java/com/ververica/cdc/connectors/db2/Db2TestBase.java (100%) rename {flink-connector-db2-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc}/src/test/java/com/ververica/cdc/connectors/db2/table/Db2ConnectorITCase.java (100%) rename {flink-connector-db2-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc}/src/test/java/com/ververica/cdc/connectors/db2/table/Db2TableSourceFactoryTest.java (100%) rename {flink-cdc-e2e-tests/src/test/resources/docker/db2 => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc/src/test/resources/db2_server}/Dockerfile (100%) rename {flink-cdc-e2e-tests/src/test/resources/docker/db2 => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc/src/test/resources/db2_server}/asncdc.c (100%) rename {flink-cdc-e2e-tests/src/test/resources/docker/db2 => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc/src/test/resources/db2_server}/asncdc_UDF.sql (100%) rename {flink-cdc-e2e-tests/src/test/resources/docker/db2 => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc/src/test/resources/db2_server}/asncdcaddremove.sql (100%) rename {flink-cdc-e2e-tests/src/test/resources/docker/db2 => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc/src/test/resources/db2_server}/asncdctables.sql (100%) rename {flink-cdc-e2e-tests/src/test/resources/docker/db2 => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc/src/test/resources/db2_server}/cdcsetup.sh (100%) rename {flink-connector-db2-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc}/src/test/resources/db2_server/column_type_test.sql (100%) rename {flink-connector-db2-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc}/src/test/resources/db2_server/dbsetup.sh (100%) rename {flink-cdc-e2e-tests/src/test/resources/docker/db2 => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc/src/test/resources/db2_server}/inventory.sql (100%) rename {flink-cdc-e2e-tests/src/test/resources/docker/db2 => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc/src/test/resources/db2_server}/startup-agent.sql (100%) rename {flink-cdc-e2e-tests/src/test/resources/docker/db2 => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc/src/test/resources/db2_server}/startup-cdc-demo.sql (100%) rename {flink-connector-db2-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc}/src/test/resources/log4j2-test.properties (100%) rename {flink-connector-debezium => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium}/pom.xml (95%) rename {flink-connector-debezium => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium}/src/main/java/com/ververica/cdc/debezium/DebeziumDeserializationSchema.java (100%) rename {flink-connector-debezium => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium}/src/main/java/com/ververica/cdc/debezium/DebeziumSourceFunction.java (100%) rename {flink-connector-debezium => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium}/src/main/java/com/ververica/cdc/debezium/JsonDebeziumDeserializationSchema.java (100%) rename {flink-connector-debezium => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium}/src/main/java/com/ververica/cdc/debezium/StringDebeziumDeserializationSchema.java (100%) rename {flink-connector-debezium => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium}/src/main/java/com/ververica/cdc/debezium/Validator.java (100%) rename {flink-connector-debezium => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium}/src/main/java/com/ververica/cdc/debezium/history/FlinkJsonTableChangeSerializer.java (100%) rename {flink-connector-debezium => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium}/src/main/java/com/ververica/cdc/debezium/internal/DebeziumChangeConsumer.java (100%) rename {flink-connector-debezium => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium}/src/main/java/com/ververica/cdc/debezium/internal/DebeziumChangeFetcher.java (100%) rename {flink-connector-debezium => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium}/src/main/java/com/ververica/cdc/debezium/internal/DebeziumOffset.java (100%) rename {flink-connector-debezium => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium}/src/main/java/com/ververica/cdc/debezium/internal/DebeziumOffsetSerializer.java (100%) rename {flink-connector-debezium => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium}/src/main/java/com/ververica/cdc/debezium/internal/FlinkDatabaseHistory.java (100%) rename {flink-connector-debezium => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium}/src/main/java/com/ververica/cdc/debezium/internal/FlinkDatabaseSchemaHistory.java (100%) rename {flink-connector-debezium => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium}/src/main/java/com/ververica/cdc/debezium/internal/FlinkOffsetBackingStore.java (100%) rename {flink-connector-debezium => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium}/src/main/java/com/ververica/cdc/debezium/internal/Handover.java (100%) rename {flink-connector-debezium => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium}/src/main/java/com/ververica/cdc/debezium/internal/SchemaRecord.java (100%) rename {flink-connector-debezium => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium}/src/main/java/com/ververica/cdc/debezium/table/AppendMetadataCollector.java (100%) rename {flink-connector-debezium => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium}/src/main/java/com/ververica/cdc/debezium/table/DebeziumChangelogMode.java (100%) rename {flink-connector-debezium => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium}/src/main/java/com/ververica/cdc/debezium/table/DebeziumOptions.java (100%) rename {flink-connector-debezium => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium}/src/main/java/com/ververica/cdc/debezium/table/DeserializationRuntimeConverter.java (100%) rename {flink-connector-debezium => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium}/src/main/java/com/ververica/cdc/debezium/table/DeserializationRuntimeConverterFactory.java (100%) rename {flink-connector-debezium => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium}/src/main/java/com/ververica/cdc/debezium/table/MetadataConverter.java (100%) rename {flink-connector-debezium => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium}/src/main/java/com/ververica/cdc/debezium/table/RowDataDebeziumDeserializeSchema.java (100%) rename {flink-connector-debezium => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium}/src/main/java/com/ververica/cdc/debezium/utils/DatabaseHistoryUtil.java (100%) rename {flink-connector-debezium => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium}/src/main/java/com/ververica/cdc/debezium/utils/JdbcUrlUtils.java (100%) rename {flink-connector-debezium => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium}/src/main/java/com/ververica/cdc/debezium/utils/ResolvedSchemaUtils.java (100%) rename {flink-connector-debezium => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium}/src/main/java/com/ververica/cdc/debezium/utils/TemporalConversions.java (100%) rename {flink-connector-debezium => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium}/src/main/java/io/debezium/embedded/EmbeddedEngineChangeEvent.java (100%) rename {flink-connector-debezium => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium}/src/main/java/io/debezium/relational/HistorizedRelationalDatabaseConnectorConfig.java (100%) rename {flink-connector-debezium => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium}/src/main/java/io/debezium/relational/RelationalChangeRecordEmitter.java (100%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/pom.xml (98%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/src/main/java/com/ververica/cdc/connectors/mongodb/MongoDBSource.java (100%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/src/main/java/com/ververica/cdc/connectors/mongodb/internal/MongoDBConnectorSourceConnector.java (100%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/src/main/java/com/ververica/cdc/connectors/mongodb/internal/MongoDBConnectorSourceTask.java (100%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/src/main/java/com/ververica/cdc/connectors/mongodb/internal/MongoDBEnvelope.java (100%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/src/main/java/com/ververica/cdc/connectors/mongodb/source/MongoDBSource.java (100%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/src/main/java/com/ververica/cdc/connectors/mongodb/source/MongoDBSourceBuilder.java (100%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/src/main/java/com/ververica/cdc/connectors/mongodb/source/assigners/splitters/MongoDBChunkSplitter.java (100%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/src/main/java/com/ververica/cdc/connectors/mongodb/source/assigners/splitters/SampleBucketSplitStrategy.java (100%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/src/main/java/com/ververica/cdc/connectors/mongodb/source/assigners/splitters/ShardedSplitStrategy.java (100%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/src/main/java/com/ververica/cdc/connectors/mongodb/source/assigners/splitters/SingleSplitStrategy.java (100%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/src/main/java/com/ververica/cdc/connectors/mongodb/source/assigners/splitters/SplitContext.java (100%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/src/main/java/com/ververica/cdc/connectors/mongodb/source/assigners/splitters/SplitStrategy.java (100%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/src/main/java/com/ververica/cdc/connectors/mongodb/source/assigners/splitters/SplitVectorSplitStrategy.java (100%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/src/main/java/com/ververica/cdc/connectors/mongodb/source/config/MongoDBSourceConfig.java (100%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/src/main/java/com/ververica/cdc/connectors/mongodb/source/config/MongoDBSourceConfigFactory.java (100%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/src/main/java/com/ververica/cdc/connectors/mongodb/source/config/MongoDBSourceOptions.java (100%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/src/main/java/com/ververica/cdc/connectors/mongodb/source/connection/MongoClientPool.java (100%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/src/main/java/com/ververica/cdc/connectors/mongodb/source/dialect/MongoDBDialect.java (100%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/src/main/java/com/ververica/cdc/connectors/mongodb/source/offset/ChangeStreamDescriptor.java (100%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/src/main/java/com/ververica/cdc/connectors/mongodb/source/offset/ChangeStreamOffset.java (100%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/src/main/java/com/ververica/cdc/connectors/mongodb/source/offset/ChangeStreamOffsetFactory.java (100%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/src/main/java/com/ververica/cdc/connectors/mongodb/source/reader/MongoDBRecordEmitter.java (100%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/src/main/java/com/ververica/cdc/connectors/mongodb/source/reader/fetch/MongoDBFetchTaskContext.java (100%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/src/main/java/com/ververica/cdc/connectors/mongodb/source/reader/fetch/MongoDBScanFetchTask.java (100%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/src/main/java/com/ververica/cdc/connectors/mongodb/source/reader/fetch/MongoDBStreamFetchTask.java (100%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/src/main/java/com/ververica/cdc/connectors/mongodb/source/utils/BsonUtils.java (100%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/src/main/java/com/ververica/cdc/connectors/mongodb/source/utils/ChunkUtils.java (100%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/src/main/java/com/ververica/cdc/connectors/mongodb/source/utils/CollectionDiscoveryUtils.java (100%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/src/main/java/com/ververica/cdc/connectors/mongodb/source/utils/MongoRecordUtils.java (100%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/src/main/java/com/ververica/cdc/connectors/mongodb/source/utils/MongoUtils.java (100%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/src/main/java/com/ververica/cdc/connectors/mongodb/source/utils/ResumeTokenUtils.java (100%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/src/main/java/com/ververica/cdc/connectors/mongodb/table/MongoDBConnectorDeserializationSchema.java (100%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/src/main/java/com/ververica/cdc/connectors/mongodb/table/MongoDBConnectorFullChangelogDeserializationSchema.java (100%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/src/main/java/com/ververica/cdc/connectors/mongodb/table/MongoDBReadableMetadata.java (100%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/src/main/java/com/ververica/cdc/connectors/mongodb/table/MongoDBTableSource.java (100%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/src/main/java/com/ververica/cdc/connectors/mongodb/table/MongoDBTableSourceFactory.java (100%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/src/main/resources/META-INF/services/org.apache.flink.table.factories.Factory (100%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/src/test/java/com/ververica/cdc/connectors/mongodb/LegacyMongoDBContainer.java (100%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/src/test/java/com/ververica/cdc/connectors/mongodb/LegacyMongoDBSourceExampleTest.java (100%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/src/test/java/com/ververica/cdc/connectors/mongodb/LegacyMongoDBSourceTest.java (100%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/src/test/java/com/ververica/cdc/connectors/mongodb/LegacyMongoDBSourceTestBase.java (100%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/src/test/java/com/ververica/cdc/connectors/mongodb/LegacyMongoDBTestBase.java (100%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/src/test/java/com/ververica/cdc/connectors/mongodb/source/MongoDBFullChangelogITCase.java (100%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/src/test/java/com/ververica/cdc/connectors/mongodb/source/MongoDBParallelSourceExampleTest.java (100%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/src/test/java/com/ververica/cdc/connectors/mongodb/source/MongoDBParallelSourceITCase.java (100%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/src/test/java/com/ververica/cdc/connectors/mongodb/source/MongoDBSourceTestBase.java (100%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/src/test/java/com/ververica/cdc/connectors/mongodb/source/reader/MongoDBSnapshotSplitReaderTest.java (100%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/src/test/java/com/ververica/cdc/connectors/mongodb/source/reader/MongoDBStreamSplitReaderTest.java (100%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/src/test/java/com/ververica/cdc/connectors/mongodb/source/utils/BsonUtilsTest.java (100%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/src/test/java/com/ververica/cdc/connectors/mongodb/source/utils/ResumeTokenUtilsTest.java (100%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/src/test/java/com/ververica/cdc/connectors/mongodb/table/MongoDBConnectorITCase.java (100%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/src/test/java/com/ververica/cdc/connectors/mongodb/table/MongoDBRegexFilterITCase.java (100%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/src/test/java/com/ververica/cdc/connectors/mongodb/table/MongoDBTableFactoryTest.java (100%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/src/test/java/com/ververica/cdc/connectors/mongodb/table/MongoDBTimeZoneITCase.java (100%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/src/test/java/com/ververica/cdc/connectors/mongodb/utils/MongoDBAssertUtils.java (100%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/src/test/java/com/ververica/cdc/connectors/mongodb/utils/MongoDBContainer.java (100%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/src/test/java/com/ververica/cdc/connectors/mongodb/utils/MongoDBTestUtils.java (100%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/src/test/resources/ddl/chunk_test.js (100%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/src/test/resources/ddl/column_type_test.js (100%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/src/test/resources/ddl/customer.js (100%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/src/test/resources/ddl/inventory.js (100%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/src/test/resources/ddl/ns-dotted.js (100%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/src/test/resources/ddl/ns-regex.js (100%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/src/test/resources/ddl/ns_regex.js (100%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/src/test/resources/docker/mongodb/random.key (100%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/src/test/resources/docker/mongodb/setup.js (100%) rename {flink-cdc-e2e-tests => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc}/src/test/resources/log4j2-test.properties (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/pom.xml (98%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/github/shyiko/mysql/binlog/event/deserialization/ColumnType.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/github/shyiko/mysql/binlog/event/deserialization/TableMapEventDataDeserializer.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/github/shyiko/mysql/binlog/io/BufferedSocketInputStream.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/MySqlSource.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/MySqlValidator.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/SeekBinlogToTimestampFilter.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/debezium/DebeziumUtils.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/debezium/EmbeddedFlinkDatabaseHistory.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/debezium/dispatcher/EventDispatcherImpl.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/debezium/dispatcher/SignalEventDispatcher.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/debezium/reader/BinlogSplitReader.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/debezium/reader/DebeziumReader.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/debezium/reader/SnapshotSplitReader.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/debezium/task/MySqlBinlogSplitReadTask.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/debezium/task/MySqlSnapshotSplitReadTask.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/debezium/task/context/MySqlErrorHandler.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/debezium/task/context/MySqlTaskContextImpl.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/debezium/task/context/StatefulTaskContext.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/debezium/task/context/exception/SchemaOutOfSyncException.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/schema/MySqlSchema.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/schema/MySqlTableDefinition.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/schema/MySqlTypeUtils.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/source/MySqlSource.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/source/MySqlSourceBuilder.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/AssignerStatus.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/ChunkRange.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/ChunkSplitter.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/MySqlBinlogSplitAssigner.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/MySqlChunkSplitter.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/MySqlHybridSplitAssigner.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/MySqlSnapshotSplitAssigner.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/MySqlSplitAssigner.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/state/BinlogPendingSplitsState.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/state/ChunkSplitterState.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/state/HybridPendingSplitsState.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/state/PendingSplitsState.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/state/PendingSplitsStateSerializer.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/state/SnapshotPendingSplitsState.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/source/config/MySqlSourceConfig.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/source/config/MySqlSourceConfigFactory.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/source/config/MySqlSourceOptions.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/source/config/ServerIdRange.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/source/connection/ConnectionPoolId.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/source/connection/ConnectionPools.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/source/connection/JdbcConnectionFactory.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/source/connection/JdbcConnectionPools.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/source/connection/PooledDataSourceFactory.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/source/enumerator/MySqlSourceEnumerator.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/source/events/BinlogSplitAssignedEvent.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/source/events/BinlogSplitMetaEvent.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/source/events/BinlogSplitMetaRequestEvent.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/source/events/BinlogSplitUpdateAckEvent.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/source/events/BinlogSplitUpdateRequestEvent.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/source/events/FinishedSnapshotSplitsAckEvent.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/source/events/FinishedSnapshotSplitsReportEvent.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/source/events/FinishedSnapshotSplitsRequestEvent.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/source/events/LatestFinishedSplitsNumberEvent.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/source/events/LatestFinishedSplitsNumberRequestEvent.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/source/metrics/MySqlSourceReaderMetrics.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/source/offset/BinlogOffset.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/source/offset/BinlogOffsetBuilder.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/source/offset/BinlogOffsetKind.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/source/offset/BinlogOffsetSerializer.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/source/offset/BinlogOffsetUtils.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/source/reader/MySqlRecordEmitter.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/source/reader/MySqlSourceReader.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/source/reader/MySqlSourceReaderContext.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/source/reader/MySqlSplitReader.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/source/split/FinishedSnapshotSplitInfo.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/source/split/MySqlBinlogSplit.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/source/split/MySqlBinlogSplitState.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/source/split/MySqlRecords.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/source/split/MySqlSchemalessSnapshotSplit.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/source/split/MySqlSnapshotSplit.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/source/split/MySqlSnapshotSplitState.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/source/split/MySqlSplit.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/source/split/MySqlSplitSerializer.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/source/split/MySqlSplitState.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/source/split/SourceRecords.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/source/utils/ChunkUtils.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/source/utils/EnvironmentUtils.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/source/utils/ObjectUtils.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/source/utils/RecordUtils.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/source/utils/SerializerUtils.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/source/utils/StatementUtils.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/source/utils/TableDiscoveryUtils.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/source/utils/VersionComparable.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/table/MySqlDeserializationConverterFactory.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/table/MySqlReadableMetadata.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/table/MySqlTableSource.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/table/MySqlTableSourceFactory.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/table/StartupMode.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/table/StartupOptions.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/utils/OptionUtils.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/io/debezium/connector/mysql/GtidUtils.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/io/debezium/connector/mysql/MySqlConnection.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/io/debezium/connector/mysql/MySqlDefaultValueConverter.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/io/debezium/connector/mysql/MySqlStreamingChangeEventSource.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/io/debezium/connector/mysql/antlr/listener/DefaultValueParserListener.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/java/io/debezium/connector/mysql/util/ErrorMessageUtils.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/main/resources/META-INF/services/org.apache.flink.table.factories.Factory (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/test/java/com/github/shyiko/mysql/binlog/event/deserialization/TableMapEventDataDeserializerTest.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/test/java/com/github/shyiko/mysql/binlog/io/BufferedSocketInputStreamTest.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/test/java/com/ververica/cdc/connectors/mysql/LegacyMySqlSourceExampleTest.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/test/java/com/ververica/cdc/connectors/mysql/LegacyMySqlSourceITCase.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/test/java/com/ververica/cdc/connectors/mysql/LegacyMySqlSourceTest.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/test/java/com/ververica/cdc/connectors/mysql/LegacyMySqlTestBase.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/test/java/com/ververica/cdc/connectors/mysql/MySqlTestUtils.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/test/java/com/ververica/cdc/connectors/mysql/MySqlValidatorTest.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/test/java/com/ververica/cdc/connectors/mysql/debezium/DebeziumUtilsTest.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/test/java/com/ververica/cdc/connectors/mysql/debezium/reader/BinlogSplitReaderTest.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/test/java/com/ververica/cdc/connectors/mysql/debezium/reader/SnapshotSplitReaderTest.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/test/java/com/ververica/cdc/connectors/mysql/source/MySqlSourceExampleTest.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/test/java/com/ververica/cdc/connectors/mysql/source/MySqlSourceITCase.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/test/java/com/ververica/cdc/connectors/mysql/source/MySqlSourceTestBase.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/test/java/com/ververica/cdc/connectors/mysql/source/NewlyAddedTableITCase.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/test/java/com/ververica/cdc/connectors/mysql/source/SpecificStartingOffsetITCase.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/test/java/com/ververica/cdc/connectors/mysql/source/assigners/MySqlBinlogSplitAssignerTest.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/test/java/com/ververica/cdc/connectors/mysql/source/assigners/MySqlChunkSplitterTest.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/test/java/com/ververica/cdc/connectors/mysql/source/assigners/MySqlHybridSplitAssignerTest.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/test/java/com/ververica/cdc/connectors/mysql/source/assigners/MySqlSnapshotSplitAssignerTest.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/test/java/com/ververica/cdc/connectors/mysql/source/assigners/state/PendingSplitsStateSerializerTest.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/test/java/com/ververica/cdc/connectors/mysql/source/reader/MySqlRecordEmitterTest.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/test/java/com/ververica/cdc/connectors/mysql/source/reader/MySqlSourceReaderTest.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/test/java/com/ververica/cdc/connectors/mysql/source/split/MySqlSplitSerializerTest.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/test/java/com/ververica/cdc/connectors/mysql/source/split/MySqlSplitStateTest.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/test/java/com/ververica/cdc/connectors/mysql/source/utils/ObjectUtilsTest.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/test/java/com/ververica/cdc/connectors/mysql/source/utils/RecordUtilsTest.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/test/java/com/ververica/cdc/connectors/mysql/source/utils/SerializerUtilsTest.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/test/java/com/ververica/cdc/connectors/mysql/table/MySqlCompatibilityITCase.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/test/java/com/ververica/cdc/connectors/mysql/table/MySqlConnectorITCase.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/test/java/com/ververica/cdc/connectors/mysql/table/MySqlTableSourceFactoryTest.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/test/java/com/ververica/cdc/connectors/mysql/table/MySqlTimezoneITCase.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/test/java/com/ververica/cdc/connectors/mysql/table/MysqlConnectorCharsetITCase.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/test/java/com/ververica/cdc/connectors/mysql/testutils/MySqlContainer.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/test/java/com/ververica/cdc/connectors/mysql/testutils/MySqlVersion.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/test/java/com/ververica/cdc/connectors/mysql/testutils/RecordsFormatter.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/test/java/com/ververica/cdc/connectors/mysql/testutils/TestTable.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/test/java/com/ververica/cdc/connectors/mysql/testutils/TestTableSchemas.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/test/java/com/ververica/cdc/connectors/mysql/testutils/UniqueDatabase.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/test/java/com/ververica/cdc/connectors/polardbx/PolardbxCharsetITCase.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/test/java/com/ververica/cdc/connectors/polardbx/PolardbxSourceITCase.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/test/java/com/ververica/cdc/connectors/polardbx/PolardbxSourceTestBase.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/test/java/io/debezium/connector/mysql/GtidUtilsTest.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/test/java/io/debezium/connector/mysql/util/ErrorMessageUtilsTest.java (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/test/resources/ddl/charset_test.sql (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/test/resources/ddl/column_type_test.sql (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/test/resources/ddl/column_type_test_mysql8.sql (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/test/resources/ddl/customer.sql (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/test/resources/ddl/customer3.0.sql (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/test/resources/ddl/inventory.sql (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/test/resources/ddl/polardbx_ddl_test.sql (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/test/resources/ddl/user_1.sql (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/test/resources/ddl/user_2.sql (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/test/resources/docker/server-gtids/expire-seconds/my.cnf (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/test/resources/docker/server-gtids/my.cnf (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/test/resources/docker/server/my.cnf (100%) rename {flink-cdc-e2e-tests/src/test/resources/docker/mysql => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/resources/docker}/setup.sql (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/test/resources/file/debezium-data-schema-exclude-with-numeric-decimal.json (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/test/resources/file/debezium-data-schema-exclude.json (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/test/resources/file/debezium-data-schema-include.json (100%) rename {flink-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc}/src/test/resources/log4j2-test.properties (100%) rename {flink-connector-oceanbase-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc}/pom.xml (98%) rename {flink-connector-oceanbase-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc}/src/main/java/com/ververica/cdc/connectors/oceanbase/OceanBaseSource.java (100%) rename {flink-connector-oceanbase-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc}/src/main/java/com/ververica/cdc/connectors/oceanbase/source/OceanBaseConnection.java (100%) rename {flink-connector-oceanbase-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc}/src/main/java/com/ververica/cdc/connectors/oceanbase/source/OceanBaseDeserializationRuntimeConverter.java (100%) rename {flink-connector-oceanbase-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc}/src/main/java/com/ververica/cdc/connectors/oceanbase/source/OceanBaseRichSourceFunction.java (100%) rename {flink-connector-oceanbase-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc}/src/main/java/com/ververica/cdc/connectors/oceanbase/source/RowDataOceanBaseDeserializationSchema.java (100%) rename {flink-connector-oceanbase-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc}/src/main/java/com/ververica/cdc/connectors/oceanbase/table/OceanBaseAppendMetadataCollector.java (100%) rename {flink-connector-oceanbase-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc}/src/main/java/com/ververica/cdc/connectors/oceanbase/table/OceanBaseDeserializationSchema.java (100%) rename {flink-connector-oceanbase-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc}/src/main/java/com/ververica/cdc/connectors/oceanbase/table/OceanBaseMetadataConverter.java (100%) rename {flink-connector-oceanbase-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc}/src/main/java/com/ververica/cdc/connectors/oceanbase/table/OceanBaseReadableMetadata.java (100%) rename {flink-connector-oceanbase-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc}/src/main/java/com/ververica/cdc/connectors/oceanbase/table/OceanBaseRecord.java (100%) rename {flink-connector-oceanbase-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc}/src/main/java/com/ververica/cdc/connectors/oceanbase/table/OceanBaseTableSource.java (100%) rename {flink-connector-oceanbase-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc}/src/main/java/com/ververica/cdc/connectors/oceanbase/table/OceanBaseTableSourceFactory.java (100%) rename {flink-connector-oceanbase-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc}/src/main/java/com/ververica/cdc/connectors/oceanbase/table/StartupMode.java (100%) rename {flink-connector-oceanbase-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc}/src/main/java/com/ververica/cdc/connectors/oceanbase/utils/OptionUtils.java (100%) rename {flink-connector-oceanbase-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc}/src/main/resources/META-INF/services/org.apache.flink.table.factories.Factory (100%) rename {flink-connector-oceanbase-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc}/src/test/java/com/ververica/cdc/connectors/oceanbase/OceanBaseTestBase.java (100%) rename {flink-connector-oceanbase-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc}/src/test/java/com/ververica/cdc/connectors/oceanbase/table/OceanBaseConnectorITCase.java (100%) rename {flink-connector-oceanbase-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc}/src/test/java/com/ververica/cdc/connectors/oceanbase/table/OceanBaseTableFactoryTest.java (100%) rename {flink-connector-oceanbase-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc}/src/test/resources/ddl/column_type_test.sql (100%) rename {flink-connector-oceanbase-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc}/src/test/resources/ddl/inventory.sql (100%) rename {flink-connector-oceanbase-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc}/src/test/resources/ddl/inventory_meta.sql (100%) rename {flink-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc}/src/test/resources/log4j2-test.properties (100%) rename {flink-connector-oracle-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc}/pom.xml (95%) rename {flink-connector-oracle-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc}/src/main/java/com/ververica/cdc/connectors/oracle/OracleSource.java (100%) rename {flink-connector-oracle-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc}/src/main/java/com/ververica/cdc/connectors/oracle/OracleValidator.java (100%) rename {flink-connector-oracle-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc}/src/main/java/com/ververica/cdc/connectors/oracle/source/OracleDialect.java (100%) rename {flink-connector-oracle-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc}/src/main/java/com/ververica/cdc/connectors/oracle/source/OraclePooledDataSourceFactory.java (100%) rename {flink-connector-oracle-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc}/src/main/java/com/ververica/cdc/connectors/oracle/source/OracleSourceBuilder.java (100%) rename {flink-connector-oracle-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc}/src/main/java/com/ververica/cdc/connectors/oracle/source/assigner/splitter/OracleChunkSplitter.java (100%) rename {flink-connector-oracle-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc}/src/main/java/com/ververica/cdc/connectors/oracle/source/config/OracleSourceConfig.java (100%) rename {flink-connector-oracle-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc}/src/main/java/com/ververica/cdc/connectors/oracle/source/config/OracleSourceConfigFactory.java (100%) rename {flink-connector-oracle-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc}/src/main/java/com/ververica/cdc/connectors/oracle/source/config/OracleSourceOptions.java (100%) rename {flink-connector-oracle-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc}/src/main/java/com/ververica/cdc/connectors/oracle/source/meta/offset/RedoLogOffset.java (100%) rename {flink-connector-oracle-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc}/src/main/java/com/ververica/cdc/connectors/oracle/source/meta/offset/RedoLogOffsetFactory.java (100%) rename {flink-connector-oracle-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc}/src/main/java/com/ververica/cdc/connectors/oracle/source/reader/fetch/OracleScanFetchTask.java (100%) rename {flink-connector-oracle-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc}/src/main/java/com/ververica/cdc/connectors/oracle/source/reader/fetch/OracleSourceFetchTaskContext.java (100%) rename {flink-connector-oracle-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc}/src/main/java/com/ververica/cdc/connectors/oracle/source/reader/fetch/OracleStreamFetchTask.java (100%) rename {flink-connector-oracle-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc}/src/main/java/com/ververica/cdc/connectors/oracle/source/utils/OracleConnectionUtils.java (100%) rename {flink-connector-oracle-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc}/src/main/java/com/ververica/cdc/connectors/oracle/source/utils/OracleSchema.java (100%) rename {flink-connector-oracle-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc}/src/main/java/com/ververica/cdc/connectors/oracle/source/utils/OracleTypeUtils.java (100%) rename {flink-connector-oracle-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc}/src/main/java/com/ververica/cdc/connectors/oracle/source/utils/OracleUtils.java (100%) rename {flink-connector-oracle-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc}/src/main/java/com/ververica/cdc/connectors/oracle/table/OracleDeserializationConverterFactory.java (100%) rename {flink-connector-oracle-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc}/src/main/java/com/ververica/cdc/connectors/oracle/table/OracleReadableMetaData.java (100%) rename {flink-connector-oracle-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc}/src/main/java/com/ververica/cdc/connectors/oracle/table/OracleTableSource.java (100%) rename {flink-connector-oracle-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc}/src/main/java/com/ververica/cdc/connectors/oracle/table/OracleTableSourceFactory.java (100%) rename {flink-connector-oracle-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc}/src/main/java/com/ververica/cdc/connectors/oracle/util/ChunkUtils.java (100%) rename {flink-connector-oracle-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc}/src/main/java/com/ververica/cdc/connectors/oracle/util/OracleJdbcUrlUtils.java (100%) rename {flink-connector-oracle-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc}/src/main/java/io/debezium/connector/oracle/logminer/LogMinerAdapter.java (100%) rename {flink-connector-oracle-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc}/src/main/java/io/debezium/connector/oracle/logminer/LogMinerChangeRecordEmitter.java (100%) rename {flink-connector-oracle-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc}/src/main/java/io/debezium/connector/oracle/logminer/LogMinerStreamingChangeEventSource.java (100%) rename {flink-connector-oracle-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc}/src/main/java/io/debezium/connector/oracle/logminer/processor/AbstractLogMinerEventProcessor.java (100%) rename {flink-connector-oracle-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc}/src/main/resources/META-INF/services/org.apache.flink.table.factories.Factory (100%) rename {flink-connector-oracle-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc}/src/test/java/com/ververica/cdc/connectors/oracle/OracleChangeEventSourceExampleTest.java (100%) rename {flink-connector-oracle-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc}/src/test/java/com/ververica/cdc/connectors/oracle/OracleSourceTest.java (100%) rename {flink-connector-oracle-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc}/src/test/java/com/ververica/cdc/connectors/oracle/source/OracleSourceITCase.java (100%) rename {flink-connector-oracle-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc}/src/test/java/com/ververica/cdc/connectors/oracle/source/OracleSourceTestBase.java (100%) rename {flink-connector-oracle-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc}/src/test/java/com/ververica/cdc/connectors/oracle/table/OracleConnectorITCase.java (100%) rename {flink-connector-oracle-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc}/src/test/java/com/ververica/cdc/connectors/oracle/table/OracleTableSourceFactoryTest.java (100%) rename {flink-connector-oracle-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc}/src/test/java/org/testcontainers/containers/OracleContainer.java (100%) rename {flink-connector-oracle-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc}/src/test/resources/ddl/column_type_test.sql (100%) rename {flink-connector-oracle-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc}/src/test/resources/ddl/customer.sql (100%) rename {flink-connector-oracle-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc}/src/test/resources/ddl/product.sql (100%) rename {flink-connector-oceanbase-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc}/src/test/resources/log4j2-test.properties (100%) rename {flink-connector-postgres-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc}/pom.xml (98%) rename {flink-connector-postgres-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc}/src/main/java/com/ververica/cdc/connectors/postgres/PostgreSQLSource.java (100%) rename {flink-connector-postgres-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc}/src/main/java/com/ververica/cdc/connectors/postgres/source/PostgresChunkSplitter.java (100%) rename {flink-connector-postgres-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc}/src/main/java/com/ververica/cdc/connectors/postgres/source/PostgresConnectionPoolFactory.java (100%) rename {flink-connector-postgres-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc}/src/main/java/com/ververica/cdc/connectors/postgres/source/PostgresDialect.java (100%) rename {flink-connector-postgres-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc}/src/main/java/com/ververica/cdc/connectors/postgres/source/PostgresSourceBuilder.java (100%) rename {flink-connector-postgres-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc}/src/main/java/com/ververica/cdc/connectors/postgres/source/config/PostgresSourceConfig.java (100%) rename {flink-connector-postgres-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc}/src/main/java/com/ververica/cdc/connectors/postgres/source/config/PostgresSourceConfigFactory.java (100%) rename {flink-connector-postgres-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc}/src/main/java/com/ververica/cdc/connectors/postgres/source/config/PostgresSourceOptions.java (100%) rename {flink-connector-postgres-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc}/src/main/java/com/ververica/cdc/connectors/postgres/source/enumerator/PostgresSourceEnumerator.java (100%) rename {flink-connector-postgres-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc}/src/main/java/com/ververica/cdc/connectors/postgres/source/fetch/PostgresScanFetchTask.java (100%) rename {flink-connector-postgres-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc}/src/main/java/com/ververica/cdc/connectors/postgres/source/fetch/PostgresSourceFetchTaskContext.java (100%) rename {flink-connector-postgres-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc}/src/main/java/com/ververica/cdc/connectors/postgres/source/fetch/PostgresStreamFetchTask.java (100%) rename {flink-connector-postgres-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc}/src/main/java/com/ververica/cdc/connectors/postgres/source/offset/PostgresOffset.java (100%) rename {flink-connector-postgres-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc}/src/main/java/com/ververica/cdc/connectors/postgres/source/offset/PostgresOffsetFactory.java (100%) rename {flink-connector-postgres-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc}/src/main/java/com/ververica/cdc/connectors/postgres/source/offset/PostgresOffsetUtils.java (100%) rename {flink-connector-postgres-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc}/src/main/java/com/ververica/cdc/connectors/postgres/source/utils/ChunkUtils.java (100%) rename {flink-connector-postgres-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc}/src/main/java/com/ververica/cdc/connectors/postgres/source/utils/CustomPostgresSchema.java (100%) rename {flink-connector-postgres-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc}/src/main/java/com/ververica/cdc/connectors/postgres/source/utils/PostgresQueryUtils.java (100%) rename {flink-connector-postgres-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc}/src/main/java/com/ververica/cdc/connectors/postgres/source/utils/PostgresTypeUtils.java (100%) rename {flink-connector-postgres-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc}/src/main/java/com/ververica/cdc/connectors/postgres/source/utils/TableDiscoveryUtils.java (100%) rename {flink-connector-postgres-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc}/src/main/java/com/ververica/cdc/connectors/postgres/table/PostgreSQLDeserializationConverterFactory.java (100%) rename {flink-connector-postgres-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc}/src/main/java/com/ververica/cdc/connectors/postgres/table/PostgreSQLReadableMetadata.java (100%) rename {flink-connector-postgres-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc}/src/main/java/com/ververica/cdc/connectors/postgres/table/PostgreSQLTableFactory.java (100%) rename {flink-connector-postgres-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc}/src/main/java/com/ververica/cdc/connectors/postgres/table/PostgreSQLTableSource.java (100%) rename {flink-connector-postgres-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc}/src/main/java/com/ververica/cdc/connectors/postgres/table/PostgresValueValidator.java (100%) rename {flink-connector-postgres-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc}/src/main/java/com/ververica/cdc/connectors/postgres/utils/OptionUtils.java (100%) rename {flink-connector-postgres-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc}/src/main/java/io/debezium/connector/postgresql/PostgresObjectUtils.java (100%) rename {flink-connector-postgres-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc}/src/main/java/io/debezium/connector/postgresql/PostgresStreamingChangeEventSource.java (100%) rename {flink-connector-postgres-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc}/src/main/java/io/debezium/connector/postgresql/Utils.java (100%) rename {flink-connector-postgres-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc}/src/main/java/io/debezium/connector/postgresql/connection/Lsn.java (100%) rename {flink-connector-postgres-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc}/src/main/java/io/debezium/connector/postgresql/connection/PostgresConnection.java (100%) rename {flink-connector-postgres-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc}/src/main/java/io/debezium/connector/postgresql/connection/PostgresReplicationConnection.java (100%) rename {flink-connector-postgres-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc}/src/main/resources/META-INF/services/org.apache.flink.table.factories.Factory (100%) rename {flink-connector-postgres-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc}/src/test/java/com/ververica/cdc/connectors/postgres/PostgreSQLSourceTest.java (100%) rename {flink-connector-postgres-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc}/src/test/java/com/ververica/cdc/connectors/postgres/PostgresTestBase.java (100%) rename {flink-connector-postgres-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc}/src/test/java/com/ververica/cdc/connectors/postgres/source/PostgresDialectTest.java (100%) rename {flink-connector-postgres-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc}/src/test/java/com/ververica/cdc/connectors/postgres/source/PostgresSourceExampleTest.java (100%) rename {flink-connector-postgres-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc}/src/test/java/com/ververica/cdc/connectors/postgres/source/PostgresSourceITCase.java (100%) rename {flink-connector-postgres-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc}/src/test/java/com/ververica/cdc/connectors/postgres/source/fetch/PostgresSourceFetchTaskContextTest.java (100%) rename {flink-connector-postgres-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc}/src/test/java/com/ververica/cdc/connectors/postgres/table/PostgreSQLConnectorITCase.java (100%) rename {flink-connector-postgres-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc}/src/test/java/com/ververica/cdc/connectors/postgres/table/PostgreSQLSavepointITCase.java (100%) rename {flink-connector-postgres-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc}/src/test/java/com/ververica/cdc/connectors/postgres/table/PostgreSQLTableFactoryTest.java (100%) rename {flink-connector-postgres-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc}/src/test/java/com/ververica/cdc/connectors/postgres/testutils/TestHelper.java (100%) rename {flink-connector-postgres-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc}/src/test/java/com/ververica/cdc/connectors/postgres/testutils/UniqueDatabase.java (100%) rename {flink-connector-postgres-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc}/src/test/resources/ddl/column_type_test.sql (100%) rename {flink-connector-postgres-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc}/src/test/resources/ddl/customer.sql (100%) rename {flink-connector-postgres-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc}/src/test/resources/ddl/inventory.sql (100%) rename {flink-connector-postgres-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc}/src/test/resources/ddl/replica_identity.sql (100%) rename {flink-connector-oracle-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc}/src/test/resources/log4j2-test.properties (100%) rename {flink-connector-sqlserver-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc}/pom.xml (97%) rename {flink-connector-sqlserver-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc}/src/main/java/com/ververica/cdc/connectors/sqlserver/SqlServerSource.java (100%) rename {flink-connector-sqlserver-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc}/src/main/java/com/ververica/cdc/connectors/sqlserver/SqlServerValidator.java (100%) rename {flink-connector-sqlserver-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc}/src/main/java/com/ververica/cdc/connectors/sqlserver/source/SqlServerSourceBuilder.java (100%) rename {flink-connector-sqlserver-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc}/src/main/java/com/ververica/cdc/connectors/sqlserver/source/config/SqlServerSourceConfig.java (100%) rename {flink-connector-sqlserver-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc}/src/main/java/com/ververica/cdc/connectors/sqlserver/source/config/SqlServerSourceConfigFactory.java (100%) rename {flink-connector-sqlserver-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc}/src/main/java/com/ververica/cdc/connectors/sqlserver/source/dialect/SqlServerChunkSplitter.java (100%) rename {flink-connector-sqlserver-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc}/src/main/java/com/ververica/cdc/connectors/sqlserver/source/dialect/SqlServerDialect.java (100%) rename {flink-connector-sqlserver-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc}/src/main/java/com/ververica/cdc/connectors/sqlserver/source/dialect/SqlServerPooledDataSourceFactory.java (100%) rename {flink-connector-sqlserver-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc}/src/main/java/com/ververica/cdc/connectors/sqlserver/source/dialect/SqlServerSchema.java (100%) rename {flink-connector-sqlserver-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc}/src/main/java/com/ververica/cdc/connectors/sqlserver/source/offset/LsnFactory.java (100%) rename {flink-connector-sqlserver-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc}/src/main/java/com/ververica/cdc/connectors/sqlserver/source/offset/LsnOffset.java (100%) rename {flink-connector-sqlserver-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc}/src/main/java/com/ververica/cdc/connectors/sqlserver/source/reader/fetch/SqlServerScanFetchTask.java (100%) rename {flink-connector-sqlserver-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc}/src/main/java/com/ververica/cdc/connectors/sqlserver/source/reader/fetch/SqlServerSourceFetchTaskContext.java (100%) rename {flink-connector-sqlserver-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc}/src/main/java/com/ververica/cdc/connectors/sqlserver/source/reader/fetch/SqlServerStreamFetchTask.java (100%) rename {flink-connector-sqlserver-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc}/src/main/java/com/ververica/cdc/connectors/sqlserver/source/utils/SqlServerConnectionUtils.java (100%) rename {flink-connector-sqlserver-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc}/src/main/java/com/ververica/cdc/connectors/sqlserver/source/utils/SqlServerTypeUtils.java (100%) rename {flink-connector-sqlserver-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc}/src/main/java/com/ververica/cdc/connectors/sqlserver/source/utils/SqlServerUtils.java (100%) rename {flink-connector-sqlserver-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc}/src/main/java/com/ververica/cdc/connectors/sqlserver/table/SqlServerDeserializationConverterFactory.java (100%) rename {flink-connector-sqlserver-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc}/src/main/java/com/ververica/cdc/connectors/sqlserver/table/SqlServerReadableMetadata.java (100%) rename {flink-connector-sqlserver-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc}/src/main/java/com/ververica/cdc/connectors/sqlserver/table/SqlServerTableFactory.java (100%) rename {flink-connector-sqlserver-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc}/src/main/java/com/ververica/cdc/connectors/sqlserver/table/SqlServerTableSource.java (100%) rename {flink-connector-sqlserver-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc}/src/main/java/com/ververica/cdc/connectors/sqlserver/table/StartupMode.java (100%) rename {flink-connector-sqlserver-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc}/src/main/java/io/debezium/connector/sqlserver/SqlServerStreamingChangeEventSource.java (100%) rename {flink-connector-sqlserver-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc}/src/main/resources/META-INF/services/org.apache.flink.table.factories.Factory (100%) rename {flink-connector-sqlserver-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc}/src/test/java/com/ververica/cdc/connectors/sqlserver/SqlServerParallelSourceExampleTest.java (100%) rename {flink-connector-sqlserver-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc}/src/test/java/com/ververica/cdc/connectors/sqlserver/SqlServerTestBase.java (100%) rename {flink-connector-sqlserver-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc}/src/test/java/com/ververica/cdc/connectors/sqlserver/source/SqlServerSourceITCase.java (100%) rename {flink-connector-sqlserver-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc}/src/test/java/com/ververica/cdc/connectors/sqlserver/source/SqlServerSourceTestBase.java (100%) rename {flink-connector-sqlserver-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc}/src/test/java/com/ververica/cdc/connectors/sqlserver/source/read/fetch/SqlServerScanFetchTaskTest.java (100%) rename {flink-connector-sqlserver-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc}/src/test/java/com/ververica/cdc/connectors/sqlserver/table/SqlServerConnectorITCase.java (100%) rename {flink-connector-sqlserver-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc}/src/test/java/com/ververica/cdc/connectors/sqlserver/table/SqlServerTableFactoryTest.java (100%) rename {flink-connector-sqlserver-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc}/src/test/java/com/ververica/cdc/connectors/sqlserver/table/SqlServerTimezoneITCase.java (100%) rename {flink-connector-sqlserver-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc}/src/test/java/com/ververica/cdc/connectors/sqlserver/testutils/RecordsFormatter.java (100%) rename {flink-cdc-e2e-tests => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc}/src/test/resources/container-license-acceptance.txt (100%) rename {flink-connector-sqlserver-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc}/src/test/resources/ddl/column_type_test.sql (100%) rename {flink-connector-sqlserver-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc}/src/test/resources/ddl/customer.sql (100%) rename {flink-connector-sqlserver-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc}/src/test/resources/ddl/inventory.sql (100%) rename {flink-connector-sqlserver-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc}/src/test/resources/ddl/product.sql (100%) rename {flink-connector-postgres-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc}/src/test/resources/log4j2-test.properties (100%) rename {flink-connector-test-util => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-test-util}/pom.xml (94%) rename {flink-connector-test-util => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-test-util}/src/main/java/com/ververica/cdc/connectors/utils/AssertUtils.java (100%) rename {flink-connector-test-util => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-test-util}/src/main/java/com/ververica/cdc/connectors/utils/TestSourceContext.java (100%) rename {flink-connector-tidb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc}/pom.xml (97%) rename {flink-connector-tidb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc}/src/main/java/com/ververica/cdc/connectors/tidb/TDBSourceOptions.java (100%) rename {flink-connector-tidb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc}/src/main/java/com/ververica/cdc/connectors/tidb/TiDBSource.java (100%) rename {flink-connector-tidb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc}/src/main/java/com/ververica/cdc/connectors/tidb/TiKVChangeEventDeserializationSchema.java (100%) rename {flink-connector-tidb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc}/src/main/java/com/ververica/cdc/connectors/tidb/TiKVRichParallelSourceFunction.java (100%) rename {flink-connector-tidb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc}/src/main/java/com/ververica/cdc/connectors/tidb/TiKVSnapshotEventDeserializationSchema.java (100%) rename {flink-connector-tidb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc}/src/main/java/com/ververica/cdc/connectors/tidb/table/RowDataTiKVChangeEventDeserializationSchema.java (100%) rename {flink-connector-tidb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc}/src/main/java/com/ververica/cdc/connectors/tidb/table/RowDataTiKVEventDeserializationSchemaBase.java (100%) rename {flink-connector-tidb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc}/src/main/java/com/ververica/cdc/connectors/tidb/table/RowDataTiKVSnapshotEventDeserializationSchema.java (100%) rename {flink-connector-tidb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc}/src/main/java/com/ververica/cdc/connectors/tidb/table/StartupMode.java (100%) rename {flink-connector-tidb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc}/src/main/java/com/ververica/cdc/connectors/tidb/table/StartupOptions.java (100%) rename {flink-connector-tidb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc}/src/main/java/com/ververica/cdc/connectors/tidb/table/TiDBTableSource.java (100%) rename {flink-connector-tidb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc}/src/main/java/com/ververica/cdc/connectors/tidb/table/TiDBTableSourceFactory.java (100%) rename {flink-connector-tidb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc}/src/main/java/com/ververica/cdc/connectors/tidb/table/TiKVAppendMetadataCollector.java (100%) rename {flink-connector-tidb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc}/src/main/java/com/ververica/cdc/connectors/tidb/table/TiKVDeserializationRuntimeConverter.java (100%) rename {flink-connector-tidb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc}/src/main/java/com/ververica/cdc/connectors/tidb/table/TiKVMetadataConverter.java (100%) rename {flink-connector-tidb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc}/src/main/java/com/ververica/cdc/connectors/tidb/table/TiKVReadableMetadata.java (100%) rename {flink-connector-tidb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc}/src/main/java/com/ververica/cdc/connectors/tidb/table/utils/OptionUtils.java (100%) rename {flink-connector-tidb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc}/src/main/java/com/ververica/cdc/connectors/tidb/table/utils/TableKeyRangeUtils.java (100%) rename {flink-connector-tidb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc}/src/main/java/org/tikv/cdc/CDCClient.java (100%) rename {flink-connector-tidb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc}/src/main/java/org/tikv/cdc/CDCEvent.java (100%) rename {flink-connector-tidb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc}/src/main/java/org/tikv/cdc/RegionCDCClient.java (100%) rename {flink-connector-tidb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc}/src/main/java/org/tikv/common/operation/iterator/ScanIterator.java (100%) rename {flink-connector-tidb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc}/src/main/java/org/tikv/common/util/ChannelFactory.java (100%) rename {flink-connector-tidb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc}/src/main/resources/META-INF/services/org.apache.flink.table.factories.Factory (100%) rename {flink-connector-tidb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc}/src/test/java/com/ververica/cdc/connectors/tidb/TiDBTestBase.java (100%) rename {flink-connector-tidb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc}/src/test/java/com/ververica/cdc/connectors/tidb/table/TiDBConnectorITCase.java (100%) rename {flink-connector-tidb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc}/src/test/java/com/ververica/cdc/connectors/tidb/table/TiDBConnectorRegionITCase.java (100%) rename {flink-connector-tidb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc}/src/test/java/com/ververica/cdc/connectors/tidb/table/TiDBTableSourceFactoryTest.java (100%) rename {flink-cdc-e2e-tests/src/test/resources/docker/tidb => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/test/resources/config}/pd.toml (100%) rename {flink-cdc-e2e-tests/src/test/resources/docker/tidb => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/test/resources/config}/tidb.toml (100%) rename {flink-cdc-e2e-tests/src/test/resources/docker/tidb => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/test/resources/config}/tikv.toml (100%) rename {flink-connector-tidb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc}/src/test/resources/ddl/column_type_test.sql (100%) rename {flink-connector-tidb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc}/src/test/resources/ddl/inventory.sql (100%) rename {flink-connector-tidb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc}/src/test/resources/ddl/region_switch_test.sql (100%) rename {flink-connector-sqlserver-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc}/src/test/resources/log4j2-test.properties (100%) rename {flink-connector-vitess-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-vitess-cdc}/pom.xml (98%) rename {flink-connector-vitess-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-vitess-cdc}/src/main/java/com/ververica/cdc/connectors/vitess/VitessSource.java (100%) rename {flink-connector-vitess-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-vitess-cdc}/src/main/java/com/ververica/cdc/connectors/vitess/VitessValidator.java (100%) rename {flink-connector-vitess-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-vitess-cdc}/src/main/java/com/ververica/cdc/connectors/vitess/config/SchemaAdjustmentMode.java (100%) rename {flink-connector-vitess-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-vitess-cdc}/src/main/java/com/ververica/cdc/connectors/vitess/config/TabletType.java (100%) rename {flink-connector-vitess-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-vitess-cdc}/src/main/java/com/ververica/cdc/connectors/vitess/table/VitessTableFactory.java (100%) rename {flink-connector-vitess-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-vitess-cdc}/src/main/java/com/ververica/cdc/connectors/vitess/table/VitessTableSource.java (100%) rename {flink-connector-vitess-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-vitess-cdc}/src/main/resources/META-INF/services/org.apache.flink.table.factories.Factory (100%) rename {flink-connector-vitess-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-vitess-cdc}/src/test/java/com/vervetica/cdc/connectors/vitess/VitessSourceTest.java (100%) rename {flink-connector-vitess-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-vitess-cdc}/src/test/java/com/vervetica/cdc/connectors/vitess/VitessTestBase.java (100%) rename {flink-connector-vitess-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-vitess-cdc}/src/test/java/com/vervetica/cdc/connectors/vitess/container/VitessContainer.java (100%) rename {flink-connector-vitess-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-vitess-cdc}/src/test/java/com/vervetica/cdc/connectors/vitess/table/VitessConnectorITCase.java (100%) rename {flink-connector-vitess-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-vitess-cdc}/src/test/java/com/vervetica/cdc/connectors/vitess/table/VitessTableFactoryTest.java (100%) rename {flink-connector-vitess-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-vitess-cdc}/src/test/resources/ddl/column_type_test.sql (100%) rename {flink-connector-vitess-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-vitess-cdc}/src/test/resources/ddl/inventory.sql (100%) rename {flink-connector-vitess-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-connector-vitess-cdc}/src/test/resources/log4j2-test.properties (100%) rename {flink-sql-connector-db2-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-db2-cdc}/pom.xml (97%) rename {flink-sql-connector-db2-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-db2-cdc}/src/main/java/com/ververica/cdc/connectors/db2/DummyDocs.java (100%) rename {flink-sql-connector-db2-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-db2-cdc}/src/main/resources/META-INF/NOTICE (100%) rename {flink-sql-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-mongodb-cdc}/pom.xml (98%) rename {flink-sql-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-mongodb-cdc}/src/main/java/com/ververica/cdc/connectors/mongodb/DummyDocs.java (100%) rename {flink-sql-connector-mongodb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-mongodb-cdc}/src/main/resources/META-INF/NOTICE (100%) rename {flink-sql-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-mysql-cdc}/pom.xml (98%) rename {flink-sql-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-mysql-cdc}/src/main/java/com/ververica/cdc/connectors/mysql/DummyDocs.java (100%) rename {flink-sql-connector-mysql-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-mysql-cdc}/src/main/resources/META-INF/NOTICE (100%) rename {flink-sql-connector-oceanbase-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-oceanbase-cdc}/pom.xml (98%) rename {flink-sql-connector-oceanbase-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-oceanbase-cdc}/src/main/java/com/ververica/cdc/connectors/oceanbase/DummyDocs.java (100%) rename {flink-sql-connector-oceanbase-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-oceanbase-cdc}/src/main/resources/META-INF/NOTICE (100%) rename {flink-sql-connector-oracle-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-oracle-cdc}/pom.xml (98%) rename {flink-sql-connector-oracle-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-oracle-cdc}/src/main/java/com/ververica/cdc/connectors/oracle/DummyDocs.java (100%) rename {flink-sql-connector-oracle-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-oracle-cdc}/src/main/resources/META-INF/NOTICE (100%) rename {flink-sql-connector-postgres-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-postgres-cdc}/pom.xml (98%) rename {flink-sql-connector-postgres-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-postgres-cdc}/src/main/java/com/ververica/cdc/connectors/postgres/DummyDocs.java (100%) rename {flink-sql-connector-postgres-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-postgres-cdc}/src/main/resources/META-INF/NOTICE (100%) rename {flink-sql-connector-sqlserver-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-sqlserver-cdc}/pom.xml (98%) rename {flink-sql-connector-sqlserver-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-sqlserver-cdc}/src/main/java/com/ververica/cdc/connectors/sqlserver/DummyDocs.java (100%) rename {flink-sql-connector-sqlserver-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-sqlserver-cdc}/src/main/resources/META-INF/NOTICE (100%) rename {flink-sql-connector-tidb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-tidb-cdc}/pom.xml (96%) rename {flink-sql-connector-tidb-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-tidb-cdc}/src/main/java/DummyDocs.java (100%) rename {flink-sql-connector-vitess-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-vitess-cdc}/pom.xml (97%) rename {flink-sql-connector-vitess-cdc => flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-vitess-cdc}/src/main/java/com/ververica/cdc/connectors/vitess/DummyDocs.java (100%) create mode 100644 flink-cdc-connect/flink-cdc-source-connectors/pom.xml create mode 100644 flink-cdc-connect/pom.xml create mode 100644 flink-cdc-dist/pom.xml create mode 100644 flink-cdc-e2e-tests/flink-cdc-pipeline-e2e-tests/pom.xml create mode 100644 flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/pom.xml rename flink-cdc-e2e-tests/{ => flink-cdc-source-e2e-tests}/src/test/java/com/ververica/cdc/connectors/tests/Db2E2eITCase.java (100%) rename flink-cdc-e2e-tests/{ => flink-cdc-source-e2e-tests}/src/test/java/com/ververica/cdc/connectors/tests/MongoE2eITCase.java (100%) rename flink-cdc-e2e-tests/{ => flink-cdc-source-e2e-tests}/src/test/java/com/ververica/cdc/connectors/tests/MySqlE2eITCase.java (100%) rename flink-cdc-e2e-tests/{ => flink-cdc-source-e2e-tests}/src/test/java/com/ververica/cdc/connectors/tests/OracleE2eITCase.java (100%) rename flink-cdc-e2e-tests/{ => flink-cdc-source-e2e-tests}/src/test/java/com/ververica/cdc/connectors/tests/PostgresE2eITCase.java (100%) rename flink-cdc-e2e-tests/{ => flink-cdc-source-e2e-tests}/src/test/java/com/ververica/cdc/connectors/tests/SqlServerE2eITCase.java (100%) rename flink-cdc-e2e-tests/{ => flink-cdc-source-e2e-tests}/src/test/java/com/ververica/cdc/connectors/tests/TiDBE2eITCase.java (100%) rename flink-cdc-e2e-tests/{ => flink-cdc-source-e2e-tests}/src/test/java/com/ververica/cdc/connectors/tests/VitessE2eITCase.java (100%) rename flink-cdc-e2e-tests/{ => flink-cdc-source-e2e-tests}/src/test/java/com/ververica/cdc/connectors/tests/utils/FlinkContainerTestEnvironment.java (100%) rename flink-cdc-e2e-tests/{ => flink-cdc-source-e2e-tests}/src/test/java/com/ververica/cdc/connectors/tests/utils/JdbcProxy.java (100%) rename flink-cdc-e2e-tests/{ => flink-cdc-source-e2e-tests}/src/test/java/com/ververica/cdc/connectors/tests/utils/ParameterProperty.java (100%) rename flink-cdc-e2e-tests/{ => flink-cdc-source-e2e-tests}/src/test/java/com/ververica/cdc/connectors/tests/utils/SQLJobSubmission.java (100%) rename flink-cdc-e2e-tests/{ => flink-cdc-source-e2e-tests}/src/test/java/com/ververica/cdc/connectors/tests/utils/TestUtils.java (100%) rename {flink-connector-sqlserver-cdc => flink-cdc-e2e-tests/flink-cdc-source-e2e-tests}/src/test/resources/container-license-acceptance.txt (100%) rename flink-cdc-e2e-tests/{ => flink-cdc-source-e2e-tests}/src/test/resources/ddl/mongo_inventory.js (100%) rename flink-cdc-e2e-tests/{ => flink-cdc-source-e2e-tests}/src/test/resources/ddl/mysql_inventory.sql (100%) rename flink-cdc-e2e-tests/{ => flink-cdc-source-e2e-tests}/src/test/resources/ddl/postgres_inventory.sql (100%) rename flink-cdc-e2e-tests/{ => flink-cdc-source-e2e-tests}/src/test/resources/ddl/sqlserver_inventory.sql (100%) rename flink-cdc-e2e-tests/{ => flink-cdc-source-e2e-tests}/src/test/resources/ddl/tidb_inventory.sql (100%) rename flink-cdc-e2e-tests/{ => flink-cdc-source-e2e-tests}/src/test/resources/ddl/vitess_inventory.sql (100%) rename {flink-connector-db2-cdc/src/test/resources/db2_server => flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/resources/docker/db2}/Dockerfile (100%) rename {flink-connector-db2-cdc/src/test/resources/db2_server => flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/resources/docker/db2}/asncdc.c (100%) rename {flink-connector-db2-cdc/src/test/resources/db2_server => flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/resources/docker/db2}/asncdc_UDF.sql (100%) rename {flink-connector-db2-cdc/src/test/resources/db2_server => flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/resources/docker/db2}/asncdcaddremove.sql (100%) rename {flink-connector-db2-cdc/src/test/resources/db2_server => flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/resources/docker/db2}/asncdctables.sql (100%) rename {flink-connector-db2-cdc/src/test/resources/db2_server => flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/resources/docker/db2}/cdcsetup.sh (100%) rename flink-cdc-e2e-tests/{ => flink-cdc-source-e2e-tests}/src/test/resources/docker/db2/column_type_test.sql (100%) rename flink-cdc-e2e-tests/{ => flink-cdc-source-e2e-tests}/src/test/resources/docker/db2/dbsetup.sh (100%) rename {flink-connector-db2-cdc/src/test/resources/db2_server => flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/resources/docker/db2}/inventory.sql (100%) rename {flink-connector-db2-cdc/src/test/resources/db2_server => flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/resources/docker/db2}/startup-agent.sql (100%) rename {flink-connector-db2-cdc/src/test/resources/db2_server => flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/resources/docker/db2}/startup-cdc-demo.sql (100%) rename flink-cdc-e2e-tests/{ => flink-cdc-source-e2e-tests}/src/test/resources/docker/mongodb/random.key (100%) rename flink-cdc-e2e-tests/{ => flink-cdc-source-e2e-tests}/src/test/resources/docker/mongodb/setup.js (100%) rename flink-cdc-e2e-tests/{ => flink-cdc-source-e2e-tests}/src/test/resources/docker/mysql/my.cnf (97%) rename {flink-connector-mysql-cdc/src/test/resources/docker => flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/resources/docker/mysql}/setup.sql (100%) rename {flink-connector-tidb-cdc/src/test/resources/config => flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/resources/docker/tidb}/pd.toml (100%) rename {flink-connector-tidb-cdc/src/test/resources/config => flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/resources/docker/tidb}/tidb.toml (100%) rename {flink-connector-tidb-cdc/src/test/resources/config => flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/resources/docker/tidb}/tikv.toml (100%) rename {flink-connector-tidb-cdc => flink-cdc-e2e-tests/flink-cdc-source-e2e-tests}/src/test/resources/log4j2-test.properties (100%) create mode 100644 flink-cdc-runtime/pom.xml diff --git a/flink-cdc-cli/pom.xml b/flink-cdc-cli/pom.xml new file mode 100644 index 000000000..46ebc2df4 --- /dev/null +++ b/flink-cdc-cli/pom.xml @@ -0,0 +1,28 @@ + + + + + flink-cdc-connectors + com.ververica + 3.0-SNAPSHOT + + 4.0.0 + + flink-cdc-cli + + \ No newline at end of file diff --git a/flink-cdc-common/pom.xml b/flink-cdc-common/pom.xml new file mode 100644 index 000000000..38530c254 --- /dev/null +++ b/flink-cdc-common/pom.xml @@ -0,0 +1,28 @@ + + + + + flink-cdc-connectors + com.ververica + 3.0-SNAPSHOT + + 4.0.0 + + flink-cdc-common + + \ No newline at end of file diff --git a/flink-cdc-composer/pom.xml b/flink-cdc-composer/pom.xml new file mode 100644 index 000000000..8c1c3d00e --- /dev/null +++ b/flink-cdc-composer/pom.xml @@ -0,0 +1,28 @@ + + + + + flink-cdc-connectors + com.ververica + 3.0-SNAPSHOT + + 4.0.0 + + flink-cdc-composer + + \ No newline at end of file diff --git a/flink-cdc-connect/flink-cdc-pipeline-connectors/pom.xml b/flink-cdc-connect/flink-cdc-pipeline-connectors/pom.xml new file mode 100644 index 000000000..61d8bb4e4 --- /dev/null +++ b/flink-cdc-connect/flink-cdc-pipeline-connectors/pom.xml @@ -0,0 +1,29 @@ + + + + + flink-cdc-connect + com.ververica + 3.0-SNAPSHOT + + 4.0.0 + + flink-cdc-pipeline-connectors + pom + + \ No newline at end of file diff --git a/flink-cdc-base/pom.xml b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/pom.xml similarity index 97% rename from flink-cdc-base/pom.xml rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/pom.xml index ab05c7a29..cae5e3c61 100644 --- a/flink-cdc-base/pom.xml +++ b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/pom.xml @@ -17,9 +17,9 @@ under the License. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - flink-cdc-connectors + flink-cdc-source-connectors com.ververica - 2.5-SNAPSHOT + 3.0-SNAPSHOT 4.0.0 diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/config/BaseSourceConfig.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/config/BaseSourceConfig.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/config/BaseSourceConfig.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/config/BaseSourceConfig.java diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/config/JdbcSourceConfig.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/config/JdbcSourceConfig.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/config/JdbcSourceConfig.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/config/JdbcSourceConfig.java diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/config/JdbcSourceConfigFactory.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/config/JdbcSourceConfigFactory.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/config/JdbcSourceConfigFactory.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/config/JdbcSourceConfigFactory.java diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/config/SourceConfig.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/config/SourceConfig.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/config/SourceConfig.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/config/SourceConfig.java diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/dialect/DataSourceDialect.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/dialect/DataSourceDialect.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/dialect/DataSourceDialect.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/dialect/DataSourceDialect.java diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/dialect/JdbcDataSourceDialect.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/dialect/JdbcDataSourceDialect.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/dialect/JdbcDataSourceDialect.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/dialect/JdbcDataSourceDialect.java diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/options/JdbcSourceOptions.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/options/JdbcSourceOptions.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/options/JdbcSourceOptions.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/options/JdbcSourceOptions.java diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/options/SourceOptions.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/options/SourceOptions.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/options/SourceOptions.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/options/SourceOptions.java diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/options/StartupMode.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/options/StartupMode.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/options/StartupMode.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/options/StartupMode.java diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/options/StartupOptions.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/options/StartupOptions.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/options/StartupOptions.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/options/StartupOptions.java diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/relational/JdbcSourceEventDispatcher.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/relational/JdbcSourceEventDispatcher.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/relational/JdbcSourceEventDispatcher.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/relational/JdbcSourceEventDispatcher.java diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/relational/connection/ConnectionPoolId.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/relational/connection/ConnectionPoolId.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/relational/connection/ConnectionPoolId.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/relational/connection/ConnectionPoolId.java diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/relational/connection/ConnectionPools.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/relational/connection/ConnectionPools.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/relational/connection/ConnectionPools.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/relational/connection/ConnectionPools.java diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/relational/connection/JdbcConnectionFactory.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/relational/connection/JdbcConnectionFactory.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/relational/connection/JdbcConnectionFactory.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/relational/connection/JdbcConnectionFactory.java diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/relational/connection/JdbcConnectionPoolFactory.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/relational/connection/JdbcConnectionPoolFactory.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/relational/connection/JdbcConnectionPoolFactory.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/relational/connection/JdbcConnectionPoolFactory.java diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/relational/connection/JdbcConnectionPools.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/relational/connection/JdbcConnectionPools.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/relational/connection/JdbcConnectionPools.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/relational/connection/JdbcConnectionPools.java diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/EmbeddedFlinkDatabaseHistory.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/EmbeddedFlinkDatabaseHistory.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/EmbeddedFlinkDatabaseHistory.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/EmbeddedFlinkDatabaseHistory.java diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/IncrementalSource.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/IncrementalSource.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/IncrementalSource.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/IncrementalSource.java diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/assigner/HybridSplitAssigner.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/assigner/HybridSplitAssigner.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/assigner/HybridSplitAssigner.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/assigner/HybridSplitAssigner.java diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/assigner/SnapshotSplitAssigner.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/assigner/SnapshotSplitAssigner.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/assigner/SnapshotSplitAssigner.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/assigner/SnapshotSplitAssigner.java diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/assigner/SplitAssigner.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/assigner/SplitAssigner.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/assigner/SplitAssigner.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/assigner/SplitAssigner.java diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/assigner/StreamSplitAssigner.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/assigner/StreamSplitAssigner.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/assigner/StreamSplitAssigner.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/assigner/StreamSplitAssigner.java diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/assigner/splitter/ChunkRange.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/assigner/splitter/ChunkRange.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/assigner/splitter/ChunkRange.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/assigner/splitter/ChunkRange.java diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/assigner/splitter/ChunkSplitter.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/assigner/splitter/ChunkSplitter.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/assigner/splitter/ChunkSplitter.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/assigner/splitter/ChunkSplitter.java diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/assigner/splitter/JdbcSourceChunkSplitter.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/assigner/splitter/JdbcSourceChunkSplitter.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/assigner/splitter/JdbcSourceChunkSplitter.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/assigner/splitter/JdbcSourceChunkSplitter.java diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/assigner/state/HybridPendingSplitsState.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/assigner/state/HybridPendingSplitsState.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/assigner/state/HybridPendingSplitsState.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/assigner/state/HybridPendingSplitsState.java diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/assigner/state/PendingSplitsState.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/assigner/state/PendingSplitsState.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/assigner/state/PendingSplitsState.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/assigner/state/PendingSplitsState.java diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/assigner/state/PendingSplitsStateSerializer.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/assigner/state/PendingSplitsStateSerializer.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/assigner/state/PendingSplitsStateSerializer.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/assigner/state/PendingSplitsStateSerializer.java diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/assigner/state/SnapshotPendingSplitsState.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/assigner/state/SnapshotPendingSplitsState.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/assigner/state/SnapshotPendingSplitsState.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/assigner/state/SnapshotPendingSplitsState.java diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/assigner/state/StreamPendingSplitsState.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/assigner/state/StreamPendingSplitsState.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/assigner/state/StreamPendingSplitsState.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/assigner/state/StreamPendingSplitsState.java diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/enumerator/IncrementalSourceEnumerator.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/enumerator/IncrementalSourceEnumerator.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/enumerator/IncrementalSourceEnumerator.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/enumerator/IncrementalSourceEnumerator.java diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/jdbc/JdbcIncrementalSource.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/jdbc/JdbcIncrementalSource.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/jdbc/JdbcIncrementalSource.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/jdbc/JdbcIncrementalSource.java diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/events/FinishedSnapshotSplitsAckEvent.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/events/FinishedSnapshotSplitsAckEvent.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/events/FinishedSnapshotSplitsAckEvent.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/events/FinishedSnapshotSplitsAckEvent.java diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/events/FinishedSnapshotSplitsReportEvent.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/events/FinishedSnapshotSplitsReportEvent.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/events/FinishedSnapshotSplitsReportEvent.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/events/FinishedSnapshotSplitsReportEvent.java diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/events/FinishedSnapshotSplitsRequestEvent.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/events/FinishedSnapshotSplitsRequestEvent.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/events/FinishedSnapshotSplitsRequestEvent.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/events/FinishedSnapshotSplitsRequestEvent.java diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/events/StreamSplitMetaEvent.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/events/StreamSplitMetaEvent.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/events/StreamSplitMetaEvent.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/events/StreamSplitMetaEvent.java diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/events/StreamSplitMetaRequestEvent.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/events/StreamSplitMetaRequestEvent.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/events/StreamSplitMetaRequestEvent.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/events/StreamSplitMetaRequestEvent.java diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/offset/Offset.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/offset/Offset.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/offset/Offset.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/offset/Offset.java diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/offset/OffsetDeserializerSerializer.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/offset/OffsetDeserializerSerializer.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/offset/OffsetDeserializerSerializer.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/offset/OffsetDeserializerSerializer.java diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/offset/OffsetFactory.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/offset/OffsetFactory.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/offset/OffsetFactory.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/offset/OffsetFactory.java diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/split/ChangeEventRecords.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/split/ChangeEventRecords.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/split/ChangeEventRecords.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/split/ChangeEventRecords.java diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/split/FinishedSnapshotSplitInfo.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/split/FinishedSnapshotSplitInfo.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/split/FinishedSnapshotSplitInfo.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/split/FinishedSnapshotSplitInfo.java diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/split/SchemalessSnapshotSplit.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/split/SchemalessSnapshotSplit.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/split/SchemalessSnapshotSplit.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/split/SchemalessSnapshotSplit.java diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/split/SnapshotSplit.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/split/SnapshotSplit.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/split/SnapshotSplit.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/split/SnapshotSplit.java diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/split/SnapshotSplitState.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/split/SnapshotSplitState.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/split/SnapshotSplitState.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/split/SnapshotSplitState.java diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/split/SourceRecords.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/split/SourceRecords.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/split/SourceRecords.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/split/SourceRecords.java diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/split/SourceSplitBase.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/split/SourceSplitBase.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/split/SourceSplitBase.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/split/SourceSplitBase.java diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/split/SourceSplitSerializer.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/split/SourceSplitSerializer.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/split/SourceSplitSerializer.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/split/SourceSplitSerializer.java diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/split/SourceSplitState.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/split/SourceSplitState.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/split/SourceSplitState.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/split/SourceSplitState.java diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/split/StreamSplit.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/split/StreamSplit.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/split/StreamSplit.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/split/StreamSplit.java diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/split/StreamSplitState.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/split/StreamSplitState.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/split/StreamSplitState.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/split/StreamSplitState.java diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/wartermark/WatermarkEvent.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/wartermark/WatermarkEvent.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/wartermark/WatermarkEvent.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/wartermark/WatermarkEvent.java diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/wartermark/WatermarkKind.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/wartermark/WatermarkKind.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/wartermark/WatermarkKind.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/meta/wartermark/WatermarkKind.java diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/metrics/SourceReaderMetrics.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/metrics/SourceReaderMetrics.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/metrics/SourceReaderMetrics.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/metrics/SourceReaderMetrics.java diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/reader/IncrementalSourceReader.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/reader/IncrementalSourceReader.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/reader/IncrementalSourceReader.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/reader/IncrementalSourceReader.java diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/reader/IncrementalSourceRecordEmitter.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/reader/IncrementalSourceRecordEmitter.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/reader/IncrementalSourceRecordEmitter.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/reader/IncrementalSourceRecordEmitter.java diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/reader/IncrementalSourceSplitReader.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/reader/IncrementalSourceSplitReader.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/reader/IncrementalSourceSplitReader.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/reader/IncrementalSourceSplitReader.java diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/reader/external/FetchTask.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/reader/external/FetchTask.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/reader/external/FetchTask.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/reader/external/FetchTask.java diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/reader/external/Fetcher.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/reader/external/Fetcher.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/reader/external/Fetcher.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/reader/external/Fetcher.java diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/reader/external/IncrementalSourceScanFetcher.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/reader/external/IncrementalSourceScanFetcher.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/reader/external/IncrementalSourceScanFetcher.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/reader/external/IncrementalSourceScanFetcher.java diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/reader/external/IncrementalSourceStreamFetcher.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/reader/external/IncrementalSourceStreamFetcher.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/reader/external/IncrementalSourceStreamFetcher.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/reader/external/IncrementalSourceStreamFetcher.java diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/reader/external/JdbcSourceFetchTaskContext.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/reader/external/JdbcSourceFetchTaskContext.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/reader/external/JdbcSourceFetchTaskContext.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/source/reader/external/JdbcSourceFetchTaskContext.java diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/utils/EnvironmentUtils.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/utils/EnvironmentUtils.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/utils/EnvironmentUtils.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/utils/EnvironmentUtils.java diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/utils/ObjectUtils.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/utils/ObjectUtils.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/utils/ObjectUtils.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/utils/ObjectUtils.java diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/utils/OptionUtils.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/utils/OptionUtils.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/utils/OptionUtils.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/utils/OptionUtils.java diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/utils/SerializerUtils.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/utils/SerializerUtils.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/utils/SerializerUtils.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/utils/SerializerUtils.java diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/utils/SourceRecordUtils.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/utils/SourceRecordUtils.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/utils/SourceRecordUtils.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/utils/SourceRecordUtils.java diff --git a/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/utils/VersionComparable.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/utils/VersionComparable.java similarity index 100% rename from flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/utils/VersionComparable.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/main/java/com/ververica/cdc/connectors/base/utils/VersionComparable.java diff --git a/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/JdbcConnectionPoolTest.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/JdbcConnectionPoolTest.java similarity index 100% rename from flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/JdbcConnectionPoolTest.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/JdbcConnectionPoolTest.java diff --git a/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/MySqlChangeEventSourceExampleTest.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/MySqlChangeEventSourceExampleTest.java similarity index 100% rename from flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/MySqlChangeEventSourceExampleTest.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/MySqlChangeEventSourceExampleTest.java diff --git a/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/EmbeddedFlinkDatabaseHistory.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/EmbeddedFlinkDatabaseHistory.java similarity index 100% rename from flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/EmbeddedFlinkDatabaseHistory.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/EmbeddedFlinkDatabaseHistory.java diff --git a/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/MySqlChunkSplitter.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/MySqlChunkSplitter.java similarity index 100% rename from flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/MySqlChunkSplitter.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/MySqlChunkSplitter.java diff --git a/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/MySqlDialect.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/MySqlDialect.java similarity index 100% rename from flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/MySqlDialect.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/MySqlDialect.java diff --git a/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/MySqlSourceBuilder.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/MySqlSourceBuilder.java similarity index 100% rename from flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/MySqlSourceBuilder.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/MySqlSourceBuilder.java diff --git a/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/MysqlPooledDataSourceFactory.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/MysqlPooledDataSourceFactory.java similarity index 100% rename from flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/MysqlPooledDataSourceFactory.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/MysqlPooledDataSourceFactory.java diff --git a/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/config/MySqlSourceConfig.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/config/MySqlSourceConfig.java similarity index 100% rename from flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/config/MySqlSourceConfig.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/config/MySqlSourceConfig.java diff --git a/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/config/MySqlSourceConfigFactory.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/config/MySqlSourceConfigFactory.java similarity index 100% rename from flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/config/MySqlSourceConfigFactory.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/config/MySqlSourceConfigFactory.java diff --git a/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/config/ServerIdRange.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/config/ServerIdRange.java similarity index 100% rename from flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/config/ServerIdRange.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/config/ServerIdRange.java diff --git a/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/fetch/MySqlScanFetchTask.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/fetch/MySqlScanFetchTask.java similarity index 100% rename from flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/fetch/MySqlScanFetchTask.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/fetch/MySqlScanFetchTask.java diff --git a/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/fetch/MySqlSourceFetchTaskContext.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/fetch/MySqlSourceFetchTaskContext.java similarity index 100% rename from flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/fetch/MySqlSourceFetchTaskContext.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/fetch/MySqlSourceFetchTaskContext.java diff --git a/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/fetch/MySqlStreamFetchTask.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/fetch/MySqlStreamFetchTask.java similarity index 100% rename from flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/fetch/MySqlStreamFetchTask.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/fetch/MySqlStreamFetchTask.java diff --git a/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/offset/BinlogOffset.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/offset/BinlogOffset.java similarity index 100% rename from flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/offset/BinlogOffset.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/offset/BinlogOffset.java diff --git a/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/offset/BinlogOffsetFactory.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/offset/BinlogOffsetFactory.java similarity index 100% rename from flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/offset/BinlogOffsetFactory.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/offset/BinlogOffsetFactory.java diff --git a/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/utils/MySqlConnectionUtils.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/utils/MySqlConnectionUtils.java similarity index 100% rename from flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/utils/MySqlConnectionUtils.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/utils/MySqlConnectionUtils.java diff --git a/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/utils/MySqlSchema.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/utils/MySqlSchema.java similarity index 100% rename from flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/utils/MySqlSchema.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/utils/MySqlSchema.java diff --git a/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/utils/MySqlTypeUtils.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/utils/MySqlTypeUtils.java similarity index 100% rename from flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/utils/MySqlTypeUtils.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/utils/MySqlTypeUtils.java diff --git a/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/utils/MySqlUtils.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/utils/MySqlUtils.java similarity index 100% rename from flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/utils/MySqlUtils.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/utils/MySqlUtils.java diff --git a/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/utils/TableDiscoveryUtils.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/utils/TableDiscoveryUtils.java similarity index 100% rename from flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/utils/TableDiscoveryUtils.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/experimental/utils/TableDiscoveryUtils.java diff --git a/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/source/meta/split/SourceSplitSerializerTest.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/source/meta/split/SourceSplitSerializerTest.java similarity index 100% rename from flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/source/meta/split/SourceSplitSerializerTest.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/source/meta/split/SourceSplitSerializerTest.java diff --git a/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/testutils/MySqlContainer.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/testutils/MySqlContainer.java similarity index 100% rename from flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/testutils/MySqlContainer.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/testutils/MySqlContainer.java diff --git a/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/testutils/MySqlVersion.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/testutils/MySqlVersion.java similarity index 100% rename from flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/testutils/MySqlVersion.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/testutils/MySqlVersion.java diff --git a/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/testutils/UniqueDatabase.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/testutils/UniqueDatabase.java similarity index 100% rename from flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/testutils/UniqueDatabase.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/test/java/com/ververica/cdc/connectors/base/testutils/UniqueDatabase.java diff --git a/flink-cdc-base/src/test/resources/ddl/inventory.sql b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/test/resources/ddl/inventory.sql similarity index 100% rename from flink-cdc-base/src/test/resources/ddl/inventory.sql rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/test/resources/ddl/inventory.sql diff --git a/flink-cdc-base/src/test/resources/docker/server-gtids/my.cnf b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/test/resources/docker/server-gtids/my.cnf similarity index 100% rename from flink-cdc-base/src/test/resources/docker/server-gtids/my.cnf rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/test/resources/docker/server-gtids/my.cnf diff --git a/flink-cdc-base/src/test/resources/docker/setup.sql b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/test/resources/docker/setup.sql similarity index 100% rename from flink-cdc-base/src/test/resources/docker/setup.sql rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/test/resources/docker/setup.sql diff --git a/flink-cdc-base/src/test/resources/log4j2-test.properties b/flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/test/resources/log4j2-test.properties similarity index 100% rename from flink-cdc-base/src/test/resources/log4j2-test.properties rename to flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/src/test/resources/log4j2-test.properties diff --git a/flink-connector-db2-cdc/pom.xml b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc/pom.xml similarity index 97% rename from flink-connector-db2-cdc/pom.xml rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc/pom.xml index f51182d7c..1eab7b63c 100644 --- a/flink-connector-db2-cdc/pom.xml +++ b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc/pom.xml @@ -17,9 +17,9 @@ under the License. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - flink-cdc-connectors + flink-cdc-source-connectors com.ververica - 2.5-SNAPSHOT + 3.0-SNAPSHOT 4.0.0 diff --git a/flink-connector-db2-cdc/src/main/java/com/ververica/cdc/connectors/db2/Db2Source.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc/src/main/java/com/ververica/cdc/connectors/db2/Db2Source.java similarity index 100% rename from flink-connector-db2-cdc/src/main/java/com/ververica/cdc/connectors/db2/Db2Source.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc/src/main/java/com/ververica/cdc/connectors/db2/Db2Source.java diff --git a/flink-connector-db2-cdc/src/main/java/com/ververica/cdc/connectors/db2/table/Db2ReadableMetaData.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc/src/main/java/com/ververica/cdc/connectors/db2/table/Db2ReadableMetaData.java similarity index 100% rename from flink-connector-db2-cdc/src/main/java/com/ververica/cdc/connectors/db2/table/Db2ReadableMetaData.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc/src/main/java/com/ververica/cdc/connectors/db2/table/Db2ReadableMetaData.java diff --git a/flink-connector-db2-cdc/src/main/java/com/ververica/cdc/connectors/db2/table/Db2TableSource.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc/src/main/java/com/ververica/cdc/connectors/db2/table/Db2TableSource.java similarity index 100% rename from flink-connector-db2-cdc/src/main/java/com/ververica/cdc/connectors/db2/table/Db2TableSource.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc/src/main/java/com/ververica/cdc/connectors/db2/table/Db2TableSource.java diff --git a/flink-connector-db2-cdc/src/main/java/com/ververica/cdc/connectors/db2/table/Db2TableSourceFactory.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc/src/main/java/com/ververica/cdc/connectors/db2/table/Db2TableSourceFactory.java similarity index 100% rename from flink-connector-db2-cdc/src/main/java/com/ververica/cdc/connectors/db2/table/Db2TableSourceFactory.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc/src/main/java/com/ververica/cdc/connectors/db2/table/Db2TableSourceFactory.java diff --git a/flink-connector-db2-cdc/src/main/java/com/ververica/cdc/connectors/db2/table/StartupMode.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc/src/main/java/com/ververica/cdc/connectors/db2/table/StartupMode.java similarity index 100% rename from flink-connector-db2-cdc/src/main/java/com/ververica/cdc/connectors/db2/table/StartupMode.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc/src/main/java/com/ververica/cdc/connectors/db2/table/StartupMode.java diff --git a/flink-connector-db2-cdc/src/main/java/com/ververica/cdc/connectors/db2/table/StartupOptions.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc/src/main/java/com/ververica/cdc/connectors/db2/table/StartupOptions.java similarity index 100% rename from flink-connector-db2-cdc/src/main/java/com/ververica/cdc/connectors/db2/table/StartupOptions.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc/src/main/java/com/ververica/cdc/connectors/db2/table/StartupOptions.java diff --git a/flink-connector-db2-cdc/src/main/java/com/ververica/cdc/connectors/db2/utils/OptionUtils.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc/src/main/java/com/ververica/cdc/connectors/db2/utils/OptionUtils.java similarity index 100% rename from flink-connector-db2-cdc/src/main/java/com/ververica/cdc/connectors/db2/utils/OptionUtils.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc/src/main/java/com/ververica/cdc/connectors/db2/utils/OptionUtils.java diff --git a/flink-connector-db2-cdc/src/main/resources/META-INF/services/org.apache.flink.table.factories.Factory b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc/src/main/resources/META-INF/services/org.apache.flink.table.factories.Factory similarity index 100% rename from flink-connector-db2-cdc/src/main/resources/META-INF/services/org.apache.flink.table.factories.Factory rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc/src/main/resources/META-INF/services/org.apache.flink.table.factories.Factory diff --git a/flink-connector-db2-cdc/src/test/java/com/ververica/cdc/connectors/db2/Db2SourceTest.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc/src/test/java/com/ververica/cdc/connectors/db2/Db2SourceTest.java similarity index 100% rename from flink-connector-db2-cdc/src/test/java/com/ververica/cdc/connectors/db2/Db2SourceTest.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc/src/test/java/com/ververica/cdc/connectors/db2/Db2SourceTest.java diff --git a/flink-connector-db2-cdc/src/test/java/com/ververica/cdc/connectors/db2/Db2TestBase.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc/src/test/java/com/ververica/cdc/connectors/db2/Db2TestBase.java similarity index 100% rename from flink-connector-db2-cdc/src/test/java/com/ververica/cdc/connectors/db2/Db2TestBase.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc/src/test/java/com/ververica/cdc/connectors/db2/Db2TestBase.java diff --git a/flink-connector-db2-cdc/src/test/java/com/ververica/cdc/connectors/db2/table/Db2ConnectorITCase.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc/src/test/java/com/ververica/cdc/connectors/db2/table/Db2ConnectorITCase.java similarity index 100% rename from flink-connector-db2-cdc/src/test/java/com/ververica/cdc/connectors/db2/table/Db2ConnectorITCase.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc/src/test/java/com/ververica/cdc/connectors/db2/table/Db2ConnectorITCase.java diff --git a/flink-connector-db2-cdc/src/test/java/com/ververica/cdc/connectors/db2/table/Db2TableSourceFactoryTest.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc/src/test/java/com/ververica/cdc/connectors/db2/table/Db2TableSourceFactoryTest.java similarity index 100% rename from flink-connector-db2-cdc/src/test/java/com/ververica/cdc/connectors/db2/table/Db2TableSourceFactoryTest.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc/src/test/java/com/ververica/cdc/connectors/db2/table/Db2TableSourceFactoryTest.java diff --git a/flink-cdc-e2e-tests/src/test/resources/docker/db2/Dockerfile b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc/src/test/resources/db2_server/Dockerfile similarity index 100% rename from flink-cdc-e2e-tests/src/test/resources/docker/db2/Dockerfile rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc/src/test/resources/db2_server/Dockerfile diff --git a/flink-cdc-e2e-tests/src/test/resources/docker/db2/asncdc.c b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc/src/test/resources/db2_server/asncdc.c similarity index 100% rename from flink-cdc-e2e-tests/src/test/resources/docker/db2/asncdc.c rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc/src/test/resources/db2_server/asncdc.c diff --git a/flink-cdc-e2e-tests/src/test/resources/docker/db2/asncdc_UDF.sql b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc/src/test/resources/db2_server/asncdc_UDF.sql similarity index 100% rename from flink-cdc-e2e-tests/src/test/resources/docker/db2/asncdc_UDF.sql rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc/src/test/resources/db2_server/asncdc_UDF.sql diff --git a/flink-cdc-e2e-tests/src/test/resources/docker/db2/asncdcaddremove.sql b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc/src/test/resources/db2_server/asncdcaddremove.sql similarity index 100% rename from flink-cdc-e2e-tests/src/test/resources/docker/db2/asncdcaddremove.sql rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc/src/test/resources/db2_server/asncdcaddremove.sql diff --git a/flink-cdc-e2e-tests/src/test/resources/docker/db2/asncdctables.sql b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc/src/test/resources/db2_server/asncdctables.sql similarity index 100% rename from flink-cdc-e2e-tests/src/test/resources/docker/db2/asncdctables.sql rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc/src/test/resources/db2_server/asncdctables.sql diff --git a/flink-cdc-e2e-tests/src/test/resources/docker/db2/cdcsetup.sh b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc/src/test/resources/db2_server/cdcsetup.sh similarity index 100% rename from flink-cdc-e2e-tests/src/test/resources/docker/db2/cdcsetup.sh rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc/src/test/resources/db2_server/cdcsetup.sh diff --git a/flink-connector-db2-cdc/src/test/resources/db2_server/column_type_test.sql b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc/src/test/resources/db2_server/column_type_test.sql similarity index 100% rename from flink-connector-db2-cdc/src/test/resources/db2_server/column_type_test.sql rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc/src/test/resources/db2_server/column_type_test.sql diff --git a/flink-connector-db2-cdc/src/test/resources/db2_server/dbsetup.sh b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc/src/test/resources/db2_server/dbsetup.sh similarity index 100% rename from flink-connector-db2-cdc/src/test/resources/db2_server/dbsetup.sh rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc/src/test/resources/db2_server/dbsetup.sh diff --git a/flink-cdc-e2e-tests/src/test/resources/docker/db2/inventory.sql b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc/src/test/resources/db2_server/inventory.sql similarity index 100% rename from flink-cdc-e2e-tests/src/test/resources/docker/db2/inventory.sql rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc/src/test/resources/db2_server/inventory.sql diff --git a/flink-cdc-e2e-tests/src/test/resources/docker/db2/startup-agent.sql b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc/src/test/resources/db2_server/startup-agent.sql similarity index 100% rename from flink-cdc-e2e-tests/src/test/resources/docker/db2/startup-agent.sql rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc/src/test/resources/db2_server/startup-agent.sql diff --git a/flink-cdc-e2e-tests/src/test/resources/docker/db2/startup-cdc-demo.sql b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc/src/test/resources/db2_server/startup-cdc-demo.sql similarity index 100% rename from flink-cdc-e2e-tests/src/test/resources/docker/db2/startup-cdc-demo.sql rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc/src/test/resources/db2_server/startup-cdc-demo.sql diff --git a/flink-connector-db2-cdc/src/test/resources/log4j2-test.properties b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc/src/test/resources/log4j2-test.properties similarity index 100% rename from flink-connector-db2-cdc/src/test/resources/log4j2-test.properties rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc/src/test/resources/log4j2-test.properties diff --git a/flink-connector-debezium/pom.xml b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/pom.xml similarity index 95% rename from flink-connector-debezium/pom.xml rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/pom.xml index 4729a49e3..12519034e 100644 --- a/flink-connector-debezium/pom.xml +++ b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/pom.xml @@ -17,9 +17,9 @@ under the License. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - flink-cdc-connectors + flink-cdc-source-connectors com.ververica - 2.5-SNAPSHOT + 3.0-SNAPSHOT 4.0.0 diff --git a/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/DebeziumDeserializationSchema.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/DebeziumDeserializationSchema.java similarity index 100% rename from flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/DebeziumDeserializationSchema.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/DebeziumDeserializationSchema.java diff --git a/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/DebeziumSourceFunction.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/DebeziumSourceFunction.java similarity index 100% rename from flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/DebeziumSourceFunction.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/DebeziumSourceFunction.java diff --git a/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/JsonDebeziumDeserializationSchema.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/JsonDebeziumDeserializationSchema.java similarity index 100% rename from flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/JsonDebeziumDeserializationSchema.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/JsonDebeziumDeserializationSchema.java diff --git a/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/StringDebeziumDeserializationSchema.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/StringDebeziumDeserializationSchema.java similarity index 100% rename from flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/StringDebeziumDeserializationSchema.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/StringDebeziumDeserializationSchema.java diff --git a/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/Validator.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/Validator.java similarity index 100% rename from flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/Validator.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/Validator.java diff --git a/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/history/FlinkJsonTableChangeSerializer.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/history/FlinkJsonTableChangeSerializer.java similarity index 100% rename from flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/history/FlinkJsonTableChangeSerializer.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/history/FlinkJsonTableChangeSerializer.java diff --git a/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/internal/DebeziumChangeConsumer.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/internal/DebeziumChangeConsumer.java similarity index 100% rename from flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/internal/DebeziumChangeConsumer.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/internal/DebeziumChangeConsumer.java diff --git a/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/internal/DebeziumChangeFetcher.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/internal/DebeziumChangeFetcher.java similarity index 100% rename from flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/internal/DebeziumChangeFetcher.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/internal/DebeziumChangeFetcher.java diff --git a/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/internal/DebeziumOffset.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/internal/DebeziumOffset.java similarity index 100% rename from flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/internal/DebeziumOffset.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/internal/DebeziumOffset.java diff --git a/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/internal/DebeziumOffsetSerializer.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/internal/DebeziumOffsetSerializer.java similarity index 100% rename from flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/internal/DebeziumOffsetSerializer.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/internal/DebeziumOffsetSerializer.java diff --git a/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/internal/FlinkDatabaseHistory.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/internal/FlinkDatabaseHistory.java similarity index 100% rename from flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/internal/FlinkDatabaseHistory.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/internal/FlinkDatabaseHistory.java diff --git a/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/internal/FlinkDatabaseSchemaHistory.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/internal/FlinkDatabaseSchemaHistory.java similarity index 100% rename from flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/internal/FlinkDatabaseSchemaHistory.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/internal/FlinkDatabaseSchemaHistory.java diff --git a/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/internal/FlinkOffsetBackingStore.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/internal/FlinkOffsetBackingStore.java similarity index 100% rename from flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/internal/FlinkOffsetBackingStore.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/internal/FlinkOffsetBackingStore.java diff --git a/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/internal/Handover.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/internal/Handover.java similarity index 100% rename from flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/internal/Handover.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/internal/Handover.java diff --git a/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/internal/SchemaRecord.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/internal/SchemaRecord.java similarity index 100% rename from flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/internal/SchemaRecord.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/internal/SchemaRecord.java diff --git a/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/table/AppendMetadataCollector.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/table/AppendMetadataCollector.java similarity index 100% rename from flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/table/AppendMetadataCollector.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/table/AppendMetadataCollector.java diff --git a/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/table/DebeziumChangelogMode.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/table/DebeziumChangelogMode.java similarity index 100% rename from flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/table/DebeziumChangelogMode.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/table/DebeziumChangelogMode.java diff --git a/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/table/DebeziumOptions.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/table/DebeziumOptions.java similarity index 100% rename from flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/table/DebeziumOptions.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/table/DebeziumOptions.java diff --git a/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/table/DeserializationRuntimeConverter.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/table/DeserializationRuntimeConverter.java similarity index 100% rename from flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/table/DeserializationRuntimeConverter.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/table/DeserializationRuntimeConverter.java diff --git a/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/table/DeserializationRuntimeConverterFactory.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/table/DeserializationRuntimeConverterFactory.java similarity index 100% rename from flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/table/DeserializationRuntimeConverterFactory.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/table/DeserializationRuntimeConverterFactory.java diff --git a/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/table/MetadataConverter.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/table/MetadataConverter.java similarity index 100% rename from flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/table/MetadataConverter.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/table/MetadataConverter.java diff --git a/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/table/RowDataDebeziumDeserializeSchema.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/table/RowDataDebeziumDeserializeSchema.java similarity index 100% rename from flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/table/RowDataDebeziumDeserializeSchema.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/table/RowDataDebeziumDeserializeSchema.java diff --git a/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/utils/DatabaseHistoryUtil.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/utils/DatabaseHistoryUtil.java similarity index 100% rename from flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/utils/DatabaseHistoryUtil.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/utils/DatabaseHistoryUtil.java diff --git a/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/utils/JdbcUrlUtils.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/utils/JdbcUrlUtils.java similarity index 100% rename from flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/utils/JdbcUrlUtils.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/utils/JdbcUrlUtils.java diff --git a/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/utils/ResolvedSchemaUtils.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/utils/ResolvedSchemaUtils.java similarity index 100% rename from flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/utils/ResolvedSchemaUtils.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/utils/ResolvedSchemaUtils.java diff --git a/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/utils/TemporalConversions.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/utils/TemporalConversions.java similarity index 100% rename from flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/utils/TemporalConversions.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/src/main/java/com/ververica/cdc/debezium/utils/TemporalConversions.java diff --git a/flink-connector-debezium/src/main/java/io/debezium/embedded/EmbeddedEngineChangeEvent.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/src/main/java/io/debezium/embedded/EmbeddedEngineChangeEvent.java similarity index 100% rename from flink-connector-debezium/src/main/java/io/debezium/embedded/EmbeddedEngineChangeEvent.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/src/main/java/io/debezium/embedded/EmbeddedEngineChangeEvent.java diff --git a/flink-connector-debezium/src/main/java/io/debezium/relational/HistorizedRelationalDatabaseConnectorConfig.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/src/main/java/io/debezium/relational/HistorizedRelationalDatabaseConnectorConfig.java similarity index 100% rename from flink-connector-debezium/src/main/java/io/debezium/relational/HistorizedRelationalDatabaseConnectorConfig.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/src/main/java/io/debezium/relational/HistorizedRelationalDatabaseConnectorConfig.java diff --git a/flink-connector-debezium/src/main/java/io/debezium/relational/RelationalChangeRecordEmitter.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/src/main/java/io/debezium/relational/RelationalChangeRecordEmitter.java similarity index 100% rename from flink-connector-debezium/src/main/java/io/debezium/relational/RelationalChangeRecordEmitter.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-debezium/src/main/java/io/debezium/relational/RelationalChangeRecordEmitter.java diff --git a/flink-connector-mongodb-cdc/pom.xml b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/pom.xml similarity index 98% rename from flink-connector-mongodb-cdc/pom.xml rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/pom.xml index 14595596f..7bb54347c 100644 --- a/flink-connector-mongodb-cdc/pom.xml +++ b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/pom.xml @@ -17,9 +17,9 @@ under the License. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - flink-cdc-connectors + flink-cdc-source-connectors com.ververica - 2.5-SNAPSHOT + 3.0-SNAPSHOT 4.0.0 diff --git a/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/MongoDBSource.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/MongoDBSource.java similarity index 100% rename from flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/MongoDBSource.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/MongoDBSource.java diff --git a/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/internal/MongoDBConnectorSourceConnector.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/internal/MongoDBConnectorSourceConnector.java similarity index 100% rename from flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/internal/MongoDBConnectorSourceConnector.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/internal/MongoDBConnectorSourceConnector.java diff --git a/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/internal/MongoDBConnectorSourceTask.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/internal/MongoDBConnectorSourceTask.java similarity index 100% rename from flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/internal/MongoDBConnectorSourceTask.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/internal/MongoDBConnectorSourceTask.java diff --git a/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/internal/MongoDBEnvelope.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/internal/MongoDBEnvelope.java similarity index 100% rename from flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/internal/MongoDBEnvelope.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/internal/MongoDBEnvelope.java diff --git a/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/MongoDBSource.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/MongoDBSource.java similarity index 100% rename from flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/MongoDBSource.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/MongoDBSource.java diff --git a/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/MongoDBSourceBuilder.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/MongoDBSourceBuilder.java similarity index 100% rename from flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/MongoDBSourceBuilder.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/MongoDBSourceBuilder.java diff --git a/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/assigners/splitters/MongoDBChunkSplitter.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/assigners/splitters/MongoDBChunkSplitter.java similarity index 100% rename from flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/assigners/splitters/MongoDBChunkSplitter.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/assigners/splitters/MongoDBChunkSplitter.java diff --git a/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/assigners/splitters/SampleBucketSplitStrategy.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/assigners/splitters/SampleBucketSplitStrategy.java similarity index 100% rename from flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/assigners/splitters/SampleBucketSplitStrategy.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/assigners/splitters/SampleBucketSplitStrategy.java diff --git a/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/assigners/splitters/ShardedSplitStrategy.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/assigners/splitters/ShardedSplitStrategy.java similarity index 100% rename from flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/assigners/splitters/ShardedSplitStrategy.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/assigners/splitters/ShardedSplitStrategy.java diff --git a/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/assigners/splitters/SingleSplitStrategy.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/assigners/splitters/SingleSplitStrategy.java similarity index 100% rename from flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/assigners/splitters/SingleSplitStrategy.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/assigners/splitters/SingleSplitStrategy.java diff --git a/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/assigners/splitters/SplitContext.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/assigners/splitters/SplitContext.java similarity index 100% rename from flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/assigners/splitters/SplitContext.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/assigners/splitters/SplitContext.java diff --git a/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/assigners/splitters/SplitStrategy.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/assigners/splitters/SplitStrategy.java similarity index 100% rename from flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/assigners/splitters/SplitStrategy.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/assigners/splitters/SplitStrategy.java diff --git a/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/assigners/splitters/SplitVectorSplitStrategy.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/assigners/splitters/SplitVectorSplitStrategy.java similarity index 100% rename from flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/assigners/splitters/SplitVectorSplitStrategy.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/assigners/splitters/SplitVectorSplitStrategy.java diff --git a/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/config/MongoDBSourceConfig.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/config/MongoDBSourceConfig.java similarity index 100% rename from flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/config/MongoDBSourceConfig.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/config/MongoDBSourceConfig.java diff --git a/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/config/MongoDBSourceConfigFactory.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/config/MongoDBSourceConfigFactory.java similarity index 100% rename from flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/config/MongoDBSourceConfigFactory.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/config/MongoDBSourceConfigFactory.java diff --git a/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/config/MongoDBSourceOptions.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/config/MongoDBSourceOptions.java similarity index 100% rename from flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/config/MongoDBSourceOptions.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/config/MongoDBSourceOptions.java diff --git a/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/connection/MongoClientPool.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/connection/MongoClientPool.java similarity index 100% rename from flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/connection/MongoClientPool.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/connection/MongoClientPool.java diff --git a/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/dialect/MongoDBDialect.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/dialect/MongoDBDialect.java similarity index 100% rename from flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/dialect/MongoDBDialect.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/dialect/MongoDBDialect.java diff --git a/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/offset/ChangeStreamDescriptor.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/offset/ChangeStreamDescriptor.java similarity index 100% rename from flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/offset/ChangeStreamDescriptor.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/offset/ChangeStreamDescriptor.java diff --git a/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/offset/ChangeStreamOffset.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/offset/ChangeStreamOffset.java similarity index 100% rename from flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/offset/ChangeStreamOffset.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/offset/ChangeStreamOffset.java diff --git a/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/offset/ChangeStreamOffsetFactory.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/offset/ChangeStreamOffsetFactory.java similarity index 100% rename from flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/offset/ChangeStreamOffsetFactory.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/offset/ChangeStreamOffsetFactory.java diff --git a/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/reader/MongoDBRecordEmitter.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/reader/MongoDBRecordEmitter.java similarity index 100% rename from flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/reader/MongoDBRecordEmitter.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/reader/MongoDBRecordEmitter.java diff --git a/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/reader/fetch/MongoDBFetchTaskContext.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/reader/fetch/MongoDBFetchTaskContext.java similarity index 100% rename from flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/reader/fetch/MongoDBFetchTaskContext.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/reader/fetch/MongoDBFetchTaskContext.java diff --git a/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/reader/fetch/MongoDBScanFetchTask.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/reader/fetch/MongoDBScanFetchTask.java similarity index 100% rename from flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/reader/fetch/MongoDBScanFetchTask.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/reader/fetch/MongoDBScanFetchTask.java diff --git a/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/reader/fetch/MongoDBStreamFetchTask.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/reader/fetch/MongoDBStreamFetchTask.java similarity index 100% rename from flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/reader/fetch/MongoDBStreamFetchTask.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/reader/fetch/MongoDBStreamFetchTask.java diff --git a/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/utils/BsonUtils.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/utils/BsonUtils.java similarity index 100% rename from flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/utils/BsonUtils.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/utils/BsonUtils.java diff --git a/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/utils/ChunkUtils.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/utils/ChunkUtils.java similarity index 100% rename from flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/utils/ChunkUtils.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/utils/ChunkUtils.java diff --git a/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/utils/CollectionDiscoveryUtils.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/utils/CollectionDiscoveryUtils.java similarity index 100% rename from flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/utils/CollectionDiscoveryUtils.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/utils/CollectionDiscoveryUtils.java diff --git a/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/utils/MongoRecordUtils.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/utils/MongoRecordUtils.java similarity index 100% rename from flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/utils/MongoRecordUtils.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/utils/MongoRecordUtils.java diff --git a/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/utils/MongoUtils.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/utils/MongoUtils.java similarity index 100% rename from flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/utils/MongoUtils.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/utils/MongoUtils.java diff --git a/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/utils/ResumeTokenUtils.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/utils/ResumeTokenUtils.java similarity index 100% rename from flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/utils/ResumeTokenUtils.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/source/utils/ResumeTokenUtils.java diff --git a/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/table/MongoDBConnectorDeserializationSchema.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/table/MongoDBConnectorDeserializationSchema.java similarity index 100% rename from flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/table/MongoDBConnectorDeserializationSchema.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/table/MongoDBConnectorDeserializationSchema.java diff --git a/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/table/MongoDBConnectorFullChangelogDeserializationSchema.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/table/MongoDBConnectorFullChangelogDeserializationSchema.java similarity index 100% rename from flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/table/MongoDBConnectorFullChangelogDeserializationSchema.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/table/MongoDBConnectorFullChangelogDeserializationSchema.java diff --git a/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/table/MongoDBReadableMetadata.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/table/MongoDBReadableMetadata.java similarity index 100% rename from flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/table/MongoDBReadableMetadata.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/table/MongoDBReadableMetadata.java diff --git a/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/table/MongoDBTableSource.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/table/MongoDBTableSource.java similarity index 100% rename from flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/table/MongoDBTableSource.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/table/MongoDBTableSource.java diff --git a/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/table/MongoDBTableSourceFactory.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/table/MongoDBTableSourceFactory.java similarity index 100% rename from flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/table/MongoDBTableSourceFactory.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/table/MongoDBTableSourceFactory.java diff --git a/flink-connector-mongodb-cdc/src/main/resources/META-INF/services/org.apache.flink.table.factories.Factory b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/resources/META-INF/services/org.apache.flink.table.factories.Factory similarity index 100% rename from flink-connector-mongodb-cdc/src/main/resources/META-INF/services/org.apache.flink.table.factories.Factory rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/main/resources/META-INF/services/org.apache.flink.table.factories.Factory diff --git a/flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/LegacyMongoDBContainer.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/LegacyMongoDBContainer.java similarity index 100% rename from flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/LegacyMongoDBContainer.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/LegacyMongoDBContainer.java diff --git a/flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/LegacyMongoDBSourceExampleTest.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/LegacyMongoDBSourceExampleTest.java similarity index 100% rename from flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/LegacyMongoDBSourceExampleTest.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/LegacyMongoDBSourceExampleTest.java diff --git a/flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/LegacyMongoDBSourceTest.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/LegacyMongoDBSourceTest.java similarity index 100% rename from flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/LegacyMongoDBSourceTest.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/LegacyMongoDBSourceTest.java diff --git a/flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/LegacyMongoDBSourceTestBase.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/LegacyMongoDBSourceTestBase.java similarity index 100% rename from flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/LegacyMongoDBSourceTestBase.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/LegacyMongoDBSourceTestBase.java diff --git a/flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/LegacyMongoDBTestBase.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/LegacyMongoDBTestBase.java similarity index 100% rename from flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/LegacyMongoDBTestBase.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/LegacyMongoDBTestBase.java diff --git a/flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/source/MongoDBFullChangelogITCase.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/source/MongoDBFullChangelogITCase.java similarity index 100% rename from flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/source/MongoDBFullChangelogITCase.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/source/MongoDBFullChangelogITCase.java diff --git a/flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/source/MongoDBParallelSourceExampleTest.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/source/MongoDBParallelSourceExampleTest.java similarity index 100% rename from flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/source/MongoDBParallelSourceExampleTest.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/source/MongoDBParallelSourceExampleTest.java diff --git a/flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/source/MongoDBParallelSourceITCase.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/source/MongoDBParallelSourceITCase.java similarity index 100% rename from flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/source/MongoDBParallelSourceITCase.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/source/MongoDBParallelSourceITCase.java diff --git a/flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/source/MongoDBSourceTestBase.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/source/MongoDBSourceTestBase.java similarity index 100% rename from flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/source/MongoDBSourceTestBase.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/source/MongoDBSourceTestBase.java diff --git a/flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/source/reader/MongoDBSnapshotSplitReaderTest.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/source/reader/MongoDBSnapshotSplitReaderTest.java similarity index 100% rename from flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/source/reader/MongoDBSnapshotSplitReaderTest.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/source/reader/MongoDBSnapshotSplitReaderTest.java diff --git a/flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/source/reader/MongoDBStreamSplitReaderTest.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/source/reader/MongoDBStreamSplitReaderTest.java similarity index 100% rename from flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/source/reader/MongoDBStreamSplitReaderTest.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/source/reader/MongoDBStreamSplitReaderTest.java diff --git a/flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/source/utils/BsonUtilsTest.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/source/utils/BsonUtilsTest.java similarity index 100% rename from flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/source/utils/BsonUtilsTest.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/source/utils/BsonUtilsTest.java diff --git a/flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/source/utils/ResumeTokenUtilsTest.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/source/utils/ResumeTokenUtilsTest.java similarity index 100% rename from flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/source/utils/ResumeTokenUtilsTest.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/source/utils/ResumeTokenUtilsTest.java diff --git a/flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/table/MongoDBConnectorITCase.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/table/MongoDBConnectorITCase.java similarity index 100% rename from flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/table/MongoDBConnectorITCase.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/table/MongoDBConnectorITCase.java diff --git a/flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/table/MongoDBRegexFilterITCase.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/table/MongoDBRegexFilterITCase.java similarity index 100% rename from flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/table/MongoDBRegexFilterITCase.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/table/MongoDBRegexFilterITCase.java diff --git a/flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/table/MongoDBTableFactoryTest.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/table/MongoDBTableFactoryTest.java similarity index 100% rename from flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/table/MongoDBTableFactoryTest.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/table/MongoDBTableFactoryTest.java diff --git a/flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/table/MongoDBTimeZoneITCase.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/table/MongoDBTimeZoneITCase.java similarity index 100% rename from flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/table/MongoDBTimeZoneITCase.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/table/MongoDBTimeZoneITCase.java diff --git a/flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/utils/MongoDBAssertUtils.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/utils/MongoDBAssertUtils.java similarity index 100% rename from flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/utils/MongoDBAssertUtils.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/utils/MongoDBAssertUtils.java diff --git a/flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/utils/MongoDBContainer.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/utils/MongoDBContainer.java similarity index 100% rename from flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/utils/MongoDBContainer.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/utils/MongoDBContainer.java diff --git a/flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/utils/MongoDBTestUtils.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/utils/MongoDBTestUtils.java similarity index 100% rename from flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/utils/MongoDBTestUtils.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/utils/MongoDBTestUtils.java diff --git a/flink-connector-mongodb-cdc/src/test/resources/ddl/chunk_test.js b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/test/resources/ddl/chunk_test.js similarity index 100% rename from flink-connector-mongodb-cdc/src/test/resources/ddl/chunk_test.js rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/test/resources/ddl/chunk_test.js diff --git a/flink-connector-mongodb-cdc/src/test/resources/ddl/column_type_test.js b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/test/resources/ddl/column_type_test.js similarity index 100% rename from flink-connector-mongodb-cdc/src/test/resources/ddl/column_type_test.js rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/test/resources/ddl/column_type_test.js diff --git a/flink-connector-mongodb-cdc/src/test/resources/ddl/customer.js b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/test/resources/ddl/customer.js similarity index 100% rename from flink-connector-mongodb-cdc/src/test/resources/ddl/customer.js rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/test/resources/ddl/customer.js diff --git a/flink-connector-mongodb-cdc/src/test/resources/ddl/inventory.js b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/test/resources/ddl/inventory.js similarity index 100% rename from flink-connector-mongodb-cdc/src/test/resources/ddl/inventory.js rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/test/resources/ddl/inventory.js diff --git a/flink-connector-mongodb-cdc/src/test/resources/ddl/ns-dotted.js b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/test/resources/ddl/ns-dotted.js similarity index 100% rename from flink-connector-mongodb-cdc/src/test/resources/ddl/ns-dotted.js rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/test/resources/ddl/ns-dotted.js diff --git a/flink-connector-mongodb-cdc/src/test/resources/ddl/ns-regex.js b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/test/resources/ddl/ns-regex.js similarity index 100% rename from flink-connector-mongodb-cdc/src/test/resources/ddl/ns-regex.js rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/test/resources/ddl/ns-regex.js diff --git a/flink-connector-mongodb-cdc/src/test/resources/ddl/ns_regex.js b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/test/resources/ddl/ns_regex.js similarity index 100% rename from flink-connector-mongodb-cdc/src/test/resources/ddl/ns_regex.js rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/test/resources/ddl/ns_regex.js diff --git a/flink-connector-mongodb-cdc/src/test/resources/docker/mongodb/random.key b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/test/resources/docker/mongodb/random.key similarity index 100% rename from flink-connector-mongodb-cdc/src/test/resources/docker/mongodb/random.key rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/test/resources/docker/mongodb/random.key diff --git a/flink-connector-mongodb-cdc/src/test/resources/docker/mongodb/setup.js b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/test/resources/docker/mongodb/setup.js similarity index 100% rename from flink-connector-mongodb-cdc/src/test/resources/docker/mongodb/setup.js rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/test/resources/docker/mongodb/setup.js diff --git a/flink-cdc-e2e-tests/src/test/resources/log4j2-test.properties b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/test/resources/log4j2-test.properties similarity index 100% rename from flink-cdc-e2e-tests/src/test/resources/log4j2-test.properties rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/test/resources/log4j2-test.properties diff --git a/flink-connector-mysql-cdc/pom.xml b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/pom.xml similarity index 98% rename from flink-connector-mysql-cdc/pom.xml rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/pom.xml index cc6a3f7e0..0eb2b6de3 100644 --- a/flink-connector-mysql-cdc/pom.xml +++ b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/pom.xml @@ -17,9 +17,9 @@ under the License. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - flink-cdc-connectors + flink-cdc-source-connectors com.ververica - 2.5-SNAPSHOT + 3.0-SNAPSHOT 4.0.0 diff --git a/flink-connector-mysql-cdc/src/main/java/com/github/shyiko/mysql/binlog/event/deserialization/ColumnType.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/github/shyiko/mysql/binlog/event/deserialization/ColumnType.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/github/shyiko/mysql/binlog/event/deserialization/ColumnType.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/github/shyiko/mysql/binlog/event/deserialization/ColumnType.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/github/shyiko/mysql/binlog/event/deserialization/TableMapEventDataDeserializer.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/github/shyiko/mysql/binlog/event/deserialization/TableMapEventDataDeserializer.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/github/shyiko/mysql/binlog/event/deserialization/TableMapEventDataDeserializer.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/github/shyiko/mysql/binlog/event/deserialization/TableMapEventDataDeserializer.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/github/shyiko/mysql/binlog/io/BufferedSocketInputStream.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/github/shyiko/mysql/binlog/io/BufferedSocketInputStream.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/github/shyiko/mysql/binlog/io/BufferedSocketInputStream.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/github/shyiko/mysql/binlog/io/BufferedSocketInputStream.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/MySqlSource.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/MySqlSource.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/MySqlSource.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/MySqlSource.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/MySqlValidator.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/MySqlValidator.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/MySqlValidator.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/MySqlValidator.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/SeekBinlogToTimestampFilter.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/SeekBinlogToTimestampFilter.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/SeekBinlogToTimestampFilter.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/SeekBinlogToTimestampFilter.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/debezium/DebeziumUtils.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/debezium/DebeziumUtils.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/debezium/DebeziumUtils.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/debezium/DebeziumUtils.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/debezium/EmbeddedFlinkDatabaseHistory.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/debezium/EmbeddedFlinkDatabaseHistory.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/debezium/EmbeddedFlinkDatabaseHistory.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/debezium/EmbeddedFlinkDatabaseHistory.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/debezium/dispatcher/EventDispatcherImpl.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/debezium/dispatcher/EventDispatcherImpl.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/debezium/dispatcher/EventDispatcherImpl.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/debezium/dispatcher/EventDispatcherImpl.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/debezium/dispatcher/SignalEventDispatcher.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/debezium/dispatcher/SignalEventDispatcher.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/debezium/dispatcher/SignalEventDispatcher.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/debezium/dispatcher/SignalEventDispatcher.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/debezium/reader/BinlogSplitReader.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/debezium/reader/BinlogSplitReader.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/debezium/reader/BinlogSplitReader.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/debezium/reader/BinlogSplitReader.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/debezium/reader/DebeziumReader.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/debezium/reader/DebeziumReader.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/debezium/reader/DebeziumReader.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/debezium/reader/DebeziumReader.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/debezium/reader/SnapshotSplitReader.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/debezium/reader/SnapshotSplitReader.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/debezium/reader/SnapshotSplitReader.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/debezium/reader/SnapshotSplitReader.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/debezium/task/MySqlBinlogSplitReadTask.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/debezium/task/MySqlBinlogSplitReadTask.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/debezium/task/MySqlBinlogSplitReadTask.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/debezium/task/MySqlBinlogSplitReadTask.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/debezium/task/MySqlSnapshotSplitReadTask.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/debezium/task/MySqlSnapshotSplitReadTask.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/debezium/task/MySqlSnapshotSplitReadTask.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/debezium/task/MySqlSnapshotSplitReadTask.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/debezium/task/context/MySqlErrorHandler.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/debezium/task/context/MySqlErrorHandler.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/debezium/task/context/MySqlErrorHandler.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/debezium/task/context/MySqlErrorHandler.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/debezium/task/context/MySqlTaskContextImpl.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/debezium/task/context/MySqlTaskContextImpl.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/debezium/task/context/MySqlTaskContextImpl.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/debezium/task/context/MySqlTaskContextImpl.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/debezium/task/context/StatefulTaskContext.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/debezium/task/context/StatefulTaskContext.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/debezium/task/context/StatefulTaskContext.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/debezium/task/context/StatefulTaskContext.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/debezium/task/context/exception/SchemaOutOfSyncException.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/debezium/task/context/exception/SchemaOutOfSyncException.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/debezium/task/context/exception/SchemaOutOfSyncException.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/debezium/task/context/exception/SchemaOutOfSyncException.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/schema/MySqlSchema.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/schema/MySqlSchema.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/schema/MySqlSchema.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/schema/MySqlSchema.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/schema/MySqlTableDefinition.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/schema/MySqlTableDefinition.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/schema/MySqlTableDefinition.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/schema/MySqlTableDefinition.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/schema/MySqlTypeUtils.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/schema/MySqlTypeUtils.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/schema/MySqlTypeUtils.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/schema/MySqlTypeUtils.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/MySqlSource.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/MySqlSource.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/MySqlSource.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/MySqlSource.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/MySqlSourceBuilder.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/MySqlSourceBuilder.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/MySqlSourceBuilder.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/MySqlSourceBuilder.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/AssignerStatus.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/AssignerStatus.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/AssignerStatus.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/AssignerStatus.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/ChunkRange.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/ChunkRange.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/ChunkRange.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/ChunkRange.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/ChunkSplitter.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/ChunkSplitter.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/ChunkSplitter.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/ChunkSplitter.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/MySqlBinlogSplitAssigner.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/MySqlBinlogSplitAssigner.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/MySqlBinlogSplitAssigner.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/MySqlBinlogSplitAssigner.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/MySqlChunkSplitter.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/MySqlChunkSplitter.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/MySqlChunkSplitter.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/MySqlChunkSplitter.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/MySqlHybridSplitAssigner.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/MySqlHybridSplitAssigner.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/MySqlHybridSplitAssigner.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/MySqlHybridSplitAssigner.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/MySqlSnapshotSplitAssigner.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/MySqlSnapshotSplitAssigner.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/MySqlSnapshotSplitAssigner.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/MySqlSnapshotSplitAssigner.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/MySqlSplitAssigner.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/MySqlSplitAssigner.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/MySqlSplitAssigner.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/MySqlSplitAssigner.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/state/BinlogPendingSplitsState.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/state/BinlogPendingSplitsState.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/state/BinlogPendingSplitsState.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/state/BinlogPendingSplitsState.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/state/ChunkSplitterState.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/state/ChunkSplitterState.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/state/ChunkSplitterState.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/state/ChunkSplitterState.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/state/HybridPendingSplitsState.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/state/HybridPendingSplitsState.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/state/HybridPendingSplitsState.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/state/HybridPendingSplitsState.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/state/PendingSplitsState.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/state/PendingSplitsState.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/state/PendingSplitsState.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/state/PendingSplitsState.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/state/PendingSplitsStateSerializer.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/state/PendingSplitsStateSerializer.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/state/PendingSplitsStateSerializer.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/state/PendingSplitsStateSerializer.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/state/SnapshotPendingSplitsState.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/state/SnapshotPendingSplitsState.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/state/SnapshotPendingSplitsState.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/assigners/state/SnapshotPendingSplitsState.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/config/MySqlSourceConfig.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/config/MySqlSourceConfig.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/config/MySqlSourceConfig.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/config/MySqlSourceConfig.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/config/MySqlSourceConfigFactory.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/config/MySqlSourceConfigFactory.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/config/MySqlSourceConfigFactory.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/config/MySqlSourceConfigFactory.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/config/MySqlSourceOptions.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/config/MySqlSourceOptions.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/config/MySqlSourceOptions.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/config/MySqlSourceOptions.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/config/ServerIdRange.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/config/ServerIdRange.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/config/ServerIdRange.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/config/ServerIdRange.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/connection/ConnectionPoolId.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/connection/ConnectionPoolId.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/connection/ConnectionPoolId.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/connection/ConnectionPoolId.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/connection/ConnectionPools.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/connection/ConnectionPools.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/connection/ConnectionPools.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/connection/ConnectionPools.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/connection/JdbcConnectionFactory.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/connection/JdbcConnectionFactory.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/connection/JdbcConnectionFactory.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/connection/JdbcConnectionFactory.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/connection/JdbcConnectionPools.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/connection/JdbcConnectionPools.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/connection/JdbcConnectionPools.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/connection/JdbcConnectionPools.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/connection/PooledDataSourceFactory.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/connection/PooledDataSourceFactory.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/connection/PooledDataSourceFactory.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/connection/PooledDataSourceFactory.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/enumerator/MySqlSourceEnumerator.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/enumerator/MySqlSourceEnumerator.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/enumerator/MySqlSourceEnumerator.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/enumerator/MySqlSourceEnumerator.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/events/BinlogSplitAssignedEvent.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/events/BinlogSplitAssignedEvent.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/events/BinlogSplitAssignedEvent.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/events/BinlogSplitAssignedEvent.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/events/BinlogSplitMetaEvent.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/events/BinlogSplitMetaEvent.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/events/BinlogSplitMetaEvent.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/events/BinlogSplitMetaEvent.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/events/BinlogSplitMetaRequestEvent.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/events/BinlogSplitMetaRequestEvent.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/events/BinlogSplitMetaRequestEvent.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/events/BinlogSplitMetaRequestEvent.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/events/BinlogSplitUpdateAckEvent.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/events/BinlogSplitUpdateAckEvent.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/events/BinlogSplitUpdateAckEvent.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/events/BinlogSplitUpdateAckEvent.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/events/BinlogSplitUpdateRequestEvent.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/events/BinlogSplitUpdateRequestEvent.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/events/BinlogSplitUpdateRequestEvent.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/events/BinlogSplitUpdateRequestEvent.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/events/FinishedSnapshotSplitsAckEvent.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/events/FinishedSnapshotSplitsAckEvent.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/events/FinishedSnapshotSplitsAckEvent.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/events/FinishedSnapshotSplitsAckEvent.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/events/FinishedSnapshotSplitsReportEvent.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/events/FinishedSnapshotSplitsReportEvent.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/events/FinishedSnapshotSplitsReportEvent.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/events/FinishedSnapshotSplitsReportEvent.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/events/FinishedSnapshotSplitsRequestEvent.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/events/FinishedSnapshotSplitsRequestEvent.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/events/FinishedSnapshotSplitsRequestEvent.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/events/FinishedSnapshotSplitsRequestEvent.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/events/LatestFinishedSplitsNumberEvent.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/events/LatestFinishedSplitsNumberEvent.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/events/LatestFinishedSplitsNumberEvent.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/events/LatestFinishedSplitsNumberEvent.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/events/LatestFinishedSplitsNumberRequestEvent.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/events/LatestFinishedSplitsNumberRequestEvent.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/events/LatestFinishedSplitsNumberRequestEvent.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/events/LatestFinishedSplitsNumberRequestEvent.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/metrics/MySqlSourceReaderMetrics.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/metrics/MySqlSourceReaderMetrics.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/metrics/MySqlSourceReaderMetrics.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/metrics/MySqlSourceReaderMetrics.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/offset/BinlogOffset.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/offset/BinlogOffset.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/offset/BinlogOffset.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/offset/BinlogOffset.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/offset/BinlogOffsetBuilder.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/offset/BinlogOffsetBuilder.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/offset/BinlogOffsetBuilder.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/offset/BinlogOffsetBuilder.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/offset/BinlogOffsetKind.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/offset/BinlogOffsetKind.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/offset/BinlogOffsetKind.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/offset/BinlogOffsetKind.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/offset/BinlogOffsetSerializer.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/offset/BinlogOffsetSerializer.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/offset/BinlogOffsetSerializer.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/offset/BinlogOffsetSerializer.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/offset/BinlogOffsetUtils.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/offset/BinlogOffsetUtils.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/offset/BinlogOffsetUtils.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/offset/BinlogOffsetUtils.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/reader/MySqlRecordEmitter.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/reader/MySqlRecordEmitter.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/reader/MySqlRecordEmitter.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/reader/MySqlRecordEmitter.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/reader/MySqlSourceReader.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/reader/MySqlSourceReader.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/reader/MySqlSourceReader.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/reader/MySqlSourceReader.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/reader/MySqlSourceReaderContext.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/reader/MySqlSourceReaderContext.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/reader/MySqlSourceReaderContext.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/reader/MySqlSourceReaderContext.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/reader/MySqlSplitReader.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/reader/MySqlSplitReader.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/reader/MySqlSplitReader.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/reader/MySqlSplitReader.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/split/FinishedSnapshotSplitInfo.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/split/FinishedSnapshotSplitInfo.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/split/FinishedSnapshotSplitInfo.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/split/FinishedSnapshotSplitInfo.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/split/MySqlBinlogSplit.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/split/MySqlBinlogSplit.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/split/MySqlBinlogSplit.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/split/MySqlBinlogSplit.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/split/MySqlBinlogSplitState.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/split/MySqlBinlogSplitState.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/split/MySqlBinlogSplitState.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/split/MySqlBinlogSplitState.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/split/MySqlRecords.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/split/MySqlRecords.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/split/MySqlRecords.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/split/MySqlRecords.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/split/MySqlSchemalessSnapshotSplit.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/split/MySqlSchemalessSnapshotSplit.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/split/MySqlSchemalessSnapshotSplit.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/split/MySqlSchemalessSnapshotSplit.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/split/MySqlSnapshotSplit.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/split/MySqlSnapshotSplit.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/split/MySqlSnapshotSplit.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/split/MySqlSnapshotSplit.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/split/MySqlSnapshotSplitState.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/split/MySqlSnapshotSplitState.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/split/MySqlSnapshotSplitState.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/split/MySqlSnapshotSplitState.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/split/MySqlSplit.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/split/MySqlSplit.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/split/MySqlSplit.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/split/MySqlSplit.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/split/MySqlSplitSerializer.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/split/MySqlSplitSerializer.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/split/MySqlSplitSerializer.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/split/MySqlSplitSerializer.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/split/MySqlSplitState.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/split/MySqlSplitState.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/split/MySqlSplitState.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/split/MySqlSplitState.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/split/SourceRecords.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/split/SourceRecords.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/split/SourceRecords.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/split/SourceRecords.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/utils/ChunkUtils.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/utils/ChunkUtils.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/utils/ChunkUtils.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/utils/ChunkUtils.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/utils/EnvironmentUtils.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/utils/EnvironmentUtils.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/utils/EnvironmentUtils.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/utils/EnvironmentUtils.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/utils/ObjectUtils.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/utils/ObjectUtils.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/utils/ObjectUtils.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/utils/ObjectUtils.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/utils/RecordUtils.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/utils/RecordUtils.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/utils/RecordUtils.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/utils/RecordUtils.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/utils/SerializerUtils.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/utils/SerializerUtils.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/utils/SerializerUtils.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/utils/SerializerUtils.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/utils/StatementUtils.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/utils/StatementUtils.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/utils/StatementUtils.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/utils/StatementUtils.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/utils/TableDiscoveryUtils.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/utils/TableDiscoveryUtils.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/utils/TableDiscoveryUtils.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/utils/TableDiscoveryUtils.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/utils/VersionComparable.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/utils/VersionComparable.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/utils/VersionComparable.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/source/utils/VersionComparable.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/table/MySqlDeserializationConverterFactory.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/table/MySqlDeserializationConverterFactory.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/table/MySqlDeserializationConverterFactory.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/table/MySqlDeserializationConverterFactory.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/table/MySqlReadableMetadata.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/table/MySqlReadableMetadata.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/table/MySqlReadableMetadata.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/table/MySqlReadableMetadata.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/table/MySqlTableSource.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/table/MySqlTableSource.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/table/MySqlTableSource.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/table/MySqlTableSource.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/table/MySqlTableSourceFactory.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/table/MySqlTableSourceFactory.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/table/MySqlTableSourceFactory.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/table/MySqlTableSourceFactory.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/table/StartupMode.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/table/StartupMode.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/table/StartupMode.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/table/StartupMode.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/table/StartupOptions.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/table/StartupOptions.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/table/StartupOptions.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/table/StartupOptions.java diff --git a/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/utils/OptionUtils.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/utils/OptionUtils.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/utils/OptionUtils.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/utils/OptionUtils.java diff --git a/flink-connector-mysql-cdc/src/main/java/io/debezium/connector/mysql/GtidUtils.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/io/debezium/connector/mysql/GtidUtils.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/io/debezium/connector/mysql/GtidUtils.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/io/debezium/connector/mysql/GtidUtils.java diff --git a/flink-connector-mysql-cdc/src/main/java/io/debezium/connector/mysql/MySqlConnection.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/io/debezium/connector/mysql/MySqlConnection.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/io/debezium/connector/mysql/MySqlConnection.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/io/debezium/connector/mysql/MySqlConnection.java diff --git a/flink-connector-mysql-cdc/src/main/java/io/debezium/connector/mysql/MySqlDefaultValueConverter.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/io/debezium/connector/mysql/MySqlDefaultValueConverter.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/io/debezium/connector/mysql/MySqlDefaultValueConverter.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/io/debezium/connector/mysql/MySqlDefaultValueConverter.java diff --git a/flink-connector-mysql-cdc/src/main/java/io/debezium/connector/mysql/MySqlStreamingChangeEventSource.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/io/debezium/connector/mysql/MySqlStreamingChangeEventSource.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/io/debezium/connector/mysql/MySqlStreamingChangeEventSource.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/io/debezium/connector/mysql/MySqlStreamingChangeEventSource.java diff --git a/flink-connector-mysql-cdc/src/main/java/io/debezium/connector/mysql/antlr/listener/DefaultValueParserListener.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/io/debezium/connector/mysql/antlr/listener/DefaultValueParserListener.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/io/debezium/connector/mysql/antlr/listener/DefaultValueParserListener.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/io/debezium/connector/mysql/antlr/listener/DefaultValueParserListener.java diff --git a/flink-connector-mysql-cdc/src/main/java/io/debezium/connector/mysql/util/ErrorMessageUtils.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/io/debezium/connector/mysql/util/ErrorMessageUtils.java similarity index 100% rename from flink-connector-mysql-cdc/src/main/java/io/debezium/connector/mysql/util/ErrorMessageUtils.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/io/debezium/connector/mysql/util/ErrorMessageUtils.java diff --git a/flink-connector-mysql-cdc/src/main/resources/META-INF/services/org.apache.flink.table.factories.Factory b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/resources/META-INF/services/org.apache.flink.table.factories.Factory similarity index 100% rename from flink-connector-mysql-cdc/src/main/resources/META-INF/services/org.apache.flink.table.factories.Factory rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/resources/META-INF/services/org.apache.flink.table.factories.Factory diff --git a/flink-connector-mysql-cdc/src/test/java/com/github/shyiko/mysql/binlog/event/deserialization/TableMapEventDataDeserializerTest.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/github/shyiko/mysql/binlog/event/deserialization/TableMapEventDataDeserializerTest.java similarity index 100% rename from flink-connector-mysql-cdc/src/test/java/com/github/shyiko/mysql/binlog/event/deserialization/TableMapEventDataDeserializerTest.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/github/shyiko/mysql/binlog/event/deserialization/TableMapEventDataDeserializerTest.java diff --git a/flink-connector-mysql-cdc/src/test/java/com/github/shyiko/mysql/binlog/io/BufferedSocketInputStreamTest.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/github/shyiko/mysql/binlog/io/BufferedSocketInputStreamTest.java similarity index 100% rename from flink-connector-mysql-cdc/src/test/java/com/github/shyiko/mysql/binlog/io/BufferedSocketInputStreamTest.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/github/shyiko/mysql/binlog/io/BufferedSocketInputStreamTest.java diff --git a/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/LegacyMySqlSourceExampleTest.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/LegacyMySqlSourceExampleTest.java similarity index 100% rename from flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/LegacyMySqlSourceExampleTest.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/LegacyMySqlSourceExampleTest.java diff --git a/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/LegacyMySqlSourceITCase.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/LegacyMySqlSourceITCase.java similarity index 100% rename from flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/LegacyMySqlSourceITCase.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/LegacyMySqlSourceITCase.java diff --git a/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/LegacyMySqlSourceTest.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/LegacyMySqlSourceTest.java similarity index 100% rename from flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/LegacyMySqlSourceTest.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/LegacyMySqlSourceTest.java diff --git a/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/LegacyMySqlTestBase.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/LegacyMySqlTestBase.java similarity index 100% rename from flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/LegacyMySqlTestBase.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/LegacyMySqlTestBase.java diff --git a/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/MySqlTestUtils.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/MySqlTestUtils.java similarity index 100% rename from flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/MySqlTestUtils.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/MySqlTestUtils.java diff --git a/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/MySqlValidatorTest.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/MySqlValidatorTest.java similarity index 100% rename from flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/MySqlValidatorTest.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/MySqlValidatorTest.java diff --git a/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/debezium/DebeziumUtilsTest.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/debezium/DebeziumUtilsTest.java similarity index 100% rename from flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/debezium/DebeziumUtilsTest.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/debezium/DebeziumUtilsTest.java diff --git a/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/debezium/reader/BinlogSplitReaderTest.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/debezium/reader/BinlogSplitReaderTest.java similarity index 100% rename from flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/debezium/reader/BinlogSplitReaderTest.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/debezium/reader/BinlogSplitReaderTest.java diff --git a/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/debezium/reader/SnapshotSplitReaderTest.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/debezium/reader/SnapshotSplitReaderTest.java similarity index 100% rename from flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/debezium/reader/SnapshotSplitReaderTest.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/debezium/reader/SnapshotSplitReaderTest.java diff --git a/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/MySqlSourceExampleTest.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/MySqlSourceExampleTest.java similarity index 100% rename from flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/MySqlSourceExampleTest.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/MySqlSourceExampleTest.java diff --git a/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/MySqlSourceITCase.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/MySqlSourceITCase.java similarity index 100% rename from flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/MySqlSourceITCase.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/MySqlSourceITCase.java diff --git a/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/MySqlSourceTestBase.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/MySqlSourceTestBase.java similarity index 100% rename from flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/MySqlSourceTestBase.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/MySqlSourceTestBase.java diff --git a/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/NewlyAddedTableITCase.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/NewlyAddedTableITCase.java similarity index 100% rename from flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/NewlyAddedTableITCase.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/NewlyAddedTableITCase.java diff --git a/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/SpecificStartingOffsetITCase.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/SpecificStartingOffsetITCase.java similarity index 100% rename from flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/SpecificStartingOffsetITCase.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/SpecificStartingOffsetITCase.java diff --git a/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/assigners/MySqlBinlogSplitAssignerTest.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/assigners/MySqlBinlogSplitAssignerTest.java similarity index 100% rename from flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/assigners/MySqlBinlogSplitAssignerTest.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/assigners/MySqlBinlogSplitAssignerTest.java diff --git a/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/assigners/MySqlChunkSplitterTest.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/assigners/MySqlChunkSplitterTest.java similarity index 100% rename from flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/assigners/MySqlChunkSplitterTest.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/assigners/MySqlChunkSplitterTest.java diff --git a/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/assigners/MySqlHybridSplitAssignerTest.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/assigners/MySqlHybridSplitAssignerTest.java similarity index 100% rename from flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/assigners/MySqlHybridSplitAssignerTest.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/assigners/MySqlHybridSplitAssignerTest.java diff --git a/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/assigners/MySqlSnapshotSplitAssignerTest.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/assigners/MySqlSnapshotSplitAssignerTest.java similarity index 100% rename from flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/assigners/MySqlSnapshotSplitAssignerTest.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/assigners/MySqlSnapshotSplitAssignerTest.java diff --git a/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/assigners/state/PendingSplitsStateSerializerTest.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/assigners/state/PendingSplitsStateSerializerTest.java similarity index 100% rename from flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/assigners/state/PendingSplitsStateSerializerTest.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/assigners/state/PendingSplitsStateSerializerTest.java diff --git a/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/reader/MySqlRecordEmitterTest.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/reader/MySqlRecordEmitterTest.java similarity index 100% rename from flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/reader/MySqlRecordEmitterTest.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/reader/MySqlRecordEmitterTest.java diff --git a/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/reader/MySqlSourceReaderTest.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/reader/MySqlSourceReaderTest.java similarity index 100% rename from flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/reader/MySqlSourceReaderTest.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/reader/MySqlSourceReaderTest.java diff --git a/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/split/MySqlSplitSerializerTest.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/split/MySqlSplitSerializerTest.java similarity index 100% rename from flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/split/MySqlSplitSerializerTest.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/split/MySqlSplitSerializerTest.java diff --git a/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/split/MySqlSplitStateTest.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/split/MySqlSplitStateTest.java similarity index 100% rename from flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/split/MySqlSplitStateTest.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/split/MySqlSplitStateTest.java diff --git a/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/utils/ObjectUtilsTest.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/utils/ObjectUtilsTest.java similarity index 100% rename from flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/utils/ObjectUtilsTest.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/utils/ObjectUtilsTest.java diff --git a/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/utils/RecordUtilsTest.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/utils/RecordUtilsTest.java similarity index 100% rename from flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/utils/RecordUtilsTest.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/utils/RecordUtilsTest.java diff --git a/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/utils/SerializerUtilsTest.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/utils/SerializerUtilsTest.java similarity index 100% rename from flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/utils/SerializerUtilsTest.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/source/utils/SerializerUtilsTest.java diff --git a/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/table/MySqlCompatibilityITCase.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/table/MySqlCompatibilityITCase.java similarity index 100% rename from flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/table/MySqlCompatibilityITCase.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/table/MySqlCompatibilityITCase.java diff --git a/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/table/MySqlConnectorITCase.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/table/MySqlConnectorITCase.java similarity index 100% rename from flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/table/MySqlConnectorITCase.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/table/MySqlConnectorITCase.java diff --git a/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/table/MySqlTableSourceFactoryTest.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/table/MySqlTableSourceFactoryTest.java similarity index 100% rename from flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/table/MySqlTableSourceFactoryTest.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/table/MySqlTableSourceFactoryTest.java diff --git a/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/table/MySqlTimezoneITCase.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/table/MySqlTimezoneITCase.java similarity index 100% rename from flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/table/MySqlTimezoneITCase.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/table/MySqlTimezoneITCase.java diff --git a/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/table/MysqlConnectorCharsetITCase.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/table/MysqlConnectorCharsetITCase.java similarity index 100% rename from flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/table/MysqlConnectorCharsetITCase.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/table/MysqlConnectorCharsetITCase.java diff --git a/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/testutils/MySqlContainer.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/testutils/MySqlContainer.java similarity index 100% rename from flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/testutils/MySqlContainer.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/testutils/MySqlContainer.java diff --git a/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/testutils/MySqlVersion.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/testutils/MySqlVersion.java similarity index 100% rename from flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/testutils/MySqlVersion.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/testutils/MySqlVersion.java diff --git a/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/testutils/RecordsFormatter.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/testutils/RecordsFormatter.java similarity index 100% rename from flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/testutils/RecordsFormatter.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/testutils/RecordsFormatter.java diff --git a/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/testutils/TestTable.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/testutils/TestTable.java similarity index 100% rename from flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/testutils/TestTable.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/testutils/TestTable.java diff --git a/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/testutils/TestTableSchemas.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/testutils/TestTableSchemas.java similarity index 100% rename from flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/testutils/TestTableSchemas.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/testutils/TestTableSchemas.java diff --git a/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/testutils/UniqueDatabase.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/testutils/UniqueDatabase.java similarity index 100% rename from flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/testutils/UniqueDatabase.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/testutils/UniqueDatabase.java diff --git a/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/polardbx/PolardbxCharsetITCase.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/polardbx/PolardbxCharsetITCase.java similarity index 100% rename from flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/polardbx/PolardbxCharsetITCase.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/polardbx/PolardbxCharsetITCase.java diff --git a/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/polardbx/PolardbxSourceITCase.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/polardbx/PolardbxSourceITCase.java similarity index 100% rename from flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/polardbx/PolardbxSourceITCase.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/polardbx/PolardbxSourceITCase.java diff --git a/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/polardbx/PolardbxSourceTestBase.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/polardbx/PolardbxSourceTestBase.java similarity index 100% rename from flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/polardbx/PolardbxSourceTestBase.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/com/ververica/cdc/connectors/polardbx/PolardbxSourceTestBase.java diff --git a/flink-connector-mysql-cdc/src/test/java/io/debezium/connector/mysql/GtidUtilsTest.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/io/debezium/connector/mysql/GtidUtilsTest.java similarity index 100% rename from flink-connector-mysql-cdc/src/test/java/io/debezium/connector/mysql/GtidUtilsTest.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/io/debezium/connector/mysql/GtidUtilsTest.java diff --git a/flink-connector-mysql-cdc/src/test/java/io/debezium/connector/mysql/util/ErrorMessageUtilsTest.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/io/debezium/connector/mysql/util/ErrorMessageUtilsTest.java similarity index 100% rename from flink-connector-mysql-cdc/src/test/java/io/debezium/connector/mysql/util/ErrorMessageUtilsTest.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/java/io/debezium/connector/mysql/util/ErrorMessageUtilsTest.java diff --git a/flink-connector-mysql-cdc/src/test/resources/ddl/charset_test.sql b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/resources/ddl/charset_test.sql similarity index 100% rename from flink-connector-mysql-cdc/src/test/resources/ddl/charset_test.sql rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/resources/ddl/charset_test.sql diff --git a/flink-connector-mysql-cdc/src/test/resources/ddl/column_type_test.sql b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/resources/ddl/column_type_test.sql similarity index 100% rename from flink-connector-mysql-cdc/src/test/resources/ddl/column_type_test.sql rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/resources/ddl/column_type_test.sql diff --git a/flink-connector-mysql-cdc/src/test/resources/ddl/column_type_test_mysql8.sql b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/resources/ddl/column_type_test_mysql8.sql similarity index 100% rename from flink-connector-mysql-cdc/src/test/resources/ddl/column_type_test_mysql8.sql rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/resources/ddl/column_type_test_mysql8.sql diff --git a/flink-connector-mysql-cdc/src/test/resources/ddl/customer.sql b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/resources/ddl/customer.sql similarity index 100% rename from flink-connector-mysql-cdc/src/test/resources/ddl/customer.sql rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/resources/ddl/customer.sql diff --git a/flink-connector-mysql-cdc/src/test/resources/ddl/customer3.0.sql b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/resources/ddl/customer3.0.sql similarity index 100% rename from flink-connector-mysql-cdc/src/test/resources/ddl/customer3.0.sql rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/resources/ddl/customer3.0.sql diff --git a/flink-connector-mysql-cdc/src/test/resources/ddl/inventory.sql b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/resources/ddl/inventory.sql similarity index 100% rename from flink-connector-mysql-cdc/src/test/resources/ddl/inventory.sql rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/resources/ddl/inventory.sql diff --git a/flink-connector-mysql-cdc/src/test/resources/ddl/polardbx_ddl_test.sql b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/resources/ddl/polardbx_ddl_test.sql similarity index 100% rename from flink-connector-mysql-cdc/src/test/resources/ddl/polardbx_ddl_test.sql rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/resources/ddl/polardbx_ddl_test.sql diff --git a/flink-connector-mysql-cdc/src/test/resources/ddl/user_1.sql b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/resources/ddl/user_1.sql similarity index 100% rename from flink-connector-mysql-cdc/src/test/resources/ddl/user_1.sql rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/resources/ddl/user_1.sql diff --git a/flink-connector-mysql-cdc/src/test/resources/ddl/user_2.sql b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/resources/ddl/user_2.sql similarity index 100% rename from flink-connector-mysql-cdc/src/test/resources/ddl/user_2.sql rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/resources/ddl/user_2.sql diff --git a/flink-connector-mysql-cdc/src/test/resources/docker/server-gtids/expire-seconds/my.cnf b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/resources/docker/server-gtids/expire-seconds/my.cnf similarity index 100% rename from flink-connector-mysql-cdc/src/test/resources/docker/server-gtids/expire-seconds/my.cnf rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/resources/docker/server-gtids/expire-seconds/my.cnf diff --git a/flink-connector-mysql-cdc/src/test/resources/docker/server-gtids/my.cnf b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/resources/docker/server-gtids/my.cnf similarity index 100% rename from flink-connector-mysql-cdc/src/test/resources/docker/server-gtids/my.cnf rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/resources/docker/server-gtids/my.cnf diff --git a/flink-connector-mysql-cdc/src/test/resources/docker/server/my.cnf b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/resources/docker/server/my.cnf similarity index 100% rename from flink-connector-mysql-cdc/src/test/resources/docker/server/my.cnf rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/resources/docker/server/my.cnf diff --git a/flink-cdc-e2e-tests/src/test/resources/docker/mysql/setup.sql b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/resources/docker/setup.sql similarity index 100% rename from flink-cdc-e2e-tests/src/test/resources/docker/mysql/setup.sql rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/resources/docker/setup.sql diff --git a/flink-connector-mysql-cdc/src/test/resources/file/debezium-data-schema-exclude-with-numeric-decimal.json b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/resources/file/debezium-data-schema-exclude-with-numeric-decimal.json similarity index 100% rename from flink-connector-mysql-cdc/src/test/resources/file/debezium-data-schema-exclude-with-numeric-decimal.json rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/resources/file/debezium-data-schema-exclude-with-numeric-decimal.json diff --git a/flink-connector-mysql-cdc/src/test/resources/file/debezium-data-schema-exclude.json b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/resources/file/debezium-data-schema-exclude.json similarity index 100% rename from flink-connector-mysql-cdc/src/test/resources/file/debezium-data-schema-exclude.json rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/resources/file/debezium-data-schema-exclude.json diff --git a/flink-connector-mysql-cdc/src/test/resources/file/debezium-data-schema-include.json b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/resources/file/debezium-data-schema-include.json similarity index 100% rename from flink-connector-mysql-cdc/src/test/resources/file/debezium-data-schema-include.json rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/resources/file/debezium-data-schema-include.json diff --git a/flink-connector-mongodb-cdc/src/test/resources/log4j2-test.properties b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/resources/log4j2-test.properties similarity index 100% rename from flink-connector-mongodb-cdc/src/test/resources/log4j2-test.properties rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/resources/log4j2-test.properties diff --git a/flink-connector-oceanbase-cdc/pom.xml b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc/pom.xml similarity index 98% rename from flink-connector-oceanbase-cdc/pom.xml rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc/pom.xml index b235770fa..b615c65f0 100644 --- a/flink-connector-oceanbase-cdc/pom.xml +++ b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc/pom.xml @@ -17,9 +17,9 @@ under the License. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - flink-cdc-connectors + flink-cdc-source-connectors com.ververica - 2.5-SNAPSHOT + 3.0-SNAPSHOT diff --git a/flink-connector-oceanbase-cdc/src/main/java/com/ververica/cdc/connectors/oceanbase/OceanBaseSource.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc/src/main/java/com/ververica/cdc/connectors/oceanbase/OceanBaseSource.java similarity index 100% rename from flink-connector-oceanbase-cdc/src/main/java/com/ververica/cdc/connectors/oceanbase/OceanBaseSource.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc/src/main/java/com/ververica/cdc/connectors/oceanbase/OceanBaseSource.java diff --git a/flink-connector-oceanbase-cdc/src/main/java/com/ververica/cdc/connectors/oceanbase/source/OceanBaseConnection.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc/src/main/java/com/ververica/cdc/connectors/oceanbase/source/OceanBaseConnection.java similarity index 100% rename from flink-connector-oceanbase-cdc/src/main/java/com/ververica/cdc/connectors/oceanbase/source/OceanBaseConnection.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc/src/main/java/com/ververica/cdc/connectors/oceanbase/source/OceanBaseConnection.java diff --git a/flink-connector-oceanbase-cdc/src/main/java/com/ververica/cdc/connectors/oceanbase/source/OceanBaseDeserializationRuntimeConverter.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc/src/main/java/com/ververica/cdc/connectors/oceanbase/source/OceanBaseDeserializationRuntimeConverter.java similarity index 100% rename from flink-connector-oceanbase-cdc/src/main/java/com/ververica/cdc/connectors/oceanbase/source/OceanBaseDeserializationRuntimeConverter.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc/src/main/java/com/ververica/cdc/connectors/oceanbase/source/OceanBaseDeserializationRuntimeConverter.java diff --git a/flink-connector-oceanbase-cdc/src/main/java/com/ververica/cdc/connectors/oceanbase/source/OceanBaseRichSourceFunction.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc/src/main/java/com/ververica/cdc/connectors/oceanbase/source/OceanBaseRichSourceFunction.java similarity index 100% rename from flink-connector-oceanbase-cdc/src/main/java/com/ververica/cdc/connectors/oceanbase/source/OceanBaseRichSourceFunction.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc/src/main/java/com/ververica/cdc/connectors/oceanbase/source/OceanBaseRichSourceFunction.java diff --git a/flink-connector-oceanbase-cdc/src/main/java/com/ververica/cdc/connectors/oceanbase/source/RowDataOceanBaseDeserializationSchema.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc/src/main/java/com/ververica/cdc/connectors/oceanbase/source/RowDataOceanBaseDeserializationSchema.java similarity index 100% rename from flink-connector-oceanbase-cdc/src/main/java/com/ververica/cdc/connectors/oceanbase/source/RowDataOceanBaseDeserializationSchema.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc/src/main/java/com/ververica/cdc/connectors/oceanbase/source/RowDataOceanBaseDeserializationSchema.java diff --git a/flink-connector-oceanbase-cdc/src/main/java/com/ververica/cdc/connectors/oceanbase/table/OceanBaseAppendMetadataCollector.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc/src/main/java/com/ververica/cdc/connectors/oceanbase/table/OceanBaseAppendMetadataCollector.java similarity index 100% rename from flink-connector-oceanbase-cdc/src/main/java/com/ververica/cdc/connectors/oceanbase/table/OceanBaseAppendMetadataCollector.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc/src/main/java/com/ververica/cdc/connectors/oceanbase/table/OceanBaseAppendMetadataCollector.java diff --git a/flink-connector-oceanbase-cdc/src/main/java/com/ververica/cdc/connectors/oceanbase/table/OceanBaseDeserializationSchema.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc/src/main/java/com/ververica/cdc/connectors/oceanbase/table/OceanBaseDeserializationSchema.java similarity index 100% rename from flink-connector-oceanbase-cdc/src/main/java/com/ververica/cdc/connectors/oceanbase/table/OceanBaseDeserializationSchema.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc/src/main/java/com/ververica/cdc/connectors/oceanbase/table/OceanBaseDeserializationSchema.java diff --git a/flink-connector-oceanbase-cdc/src/main/java/com/ververica/cdc/connectors/oceanbase/table/OceanBaseMetadataConverter.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc/src/main/java/com/ververica/cdc/connectors/oceanbase/table/OceanBaseMetadataConverter.java similarity index 100% rename from flink-connector-oceanbase-cdc/src/main/java/com/ververica/cdc/connectors/oceanbase/table/OceanBaseMetadataConverter.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc/src/main/java/com/ververica/cdc/connectors/oceanbase/table/OceanBaseMetadataConverter.java diff --git a/flink-connector-oceanbase-cdc/src/main/java/com/ververica/cdc/connectors/oceanbase/table/OceanBaseReadableMetadata.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc/src/main/java/com/ververica/cdc/connectors/oceanbase/table/OceanBaseReadableMetadata.java similarity index 100% rename from flink-connector-oceanbase-cdc/src/main/java/com/ververica/cdc/connectors/oceanbase/table/OceanBaseReadableMetadata.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc/src/main/java/com/ververica/cdc/connectors/oceanbase/table/OceanBaseReadableMetadata.java diff --git a/flink-connector-oceanbase-cdc/src/main/java/com/ververica/cdc/connectors/oceanbase/table/OceanBaseRecord.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc/src/main/java/com/ververica/cdc/connectors/oceanbase/table/OceanBaseRecord.java similarity index 100% rename from flink-connector-oceanbase-cdc/src/main/java/com/ververica/cdc/connectors/oceanbase/table/OceanBaseRecord.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc/src/main/java/com/ververica/cdc/connectors/oceanbase/table/OceanBaseRecord.java diff --git a/flink-connector-oceanbase-cdc/src/main/java/com/ververica/cdc/connectors/oceanbase/table/OceanBaseTableSource.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc/src/main/java/com/ververica/cdc/connectors/oceanbase/table/OceanBaseTableSource.java similarity index 100% rename from flink-connector-oceanbase-cdc/src/main/java/com/ververica/cdc/connectors/oceanbase/table/OceanBaseTableSource.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc/src/main/java/com/ververica/cdc/connectors/oceanbase/table/OceanBaseTableSource.java diff --git a/flink-connector-oceanbase-cdc/src/main/java/com/ververica/cdc/connectors/oceanbase/table/OceanBaseTableSourceFactory.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc/src/main/java/com/ververica/cdc/connectors/oceanbase/table/OceanBaseTableSourceFactory.java similarity index 100% rename from flink-connector-oceanbase-cdc/src/main/java/com/ververica/cdc/connectors/oceanbase/table/OceanBaseTableSourceFactory.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc/src/main/java/com/ververica/cdc/connectors/oceanbase/table/OceanBaseTableSourceFactory.java diff --git a/flink-connector-oceanbase-cdc/src/main/java/com/ververica/cdc/connectors/oceanbase/table/StartupMode.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc/src/main/java/com/ververica/cdc/connectors/oceanbase/table/StartupMode.java similarity index 100% rename from flink-connector-oceanbase-cdc/src/main/java/com/ververica/cdc/connectors/oceanbase/table/StartupMode.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc/src/main/java/com/ververica/cdc/connectors/oceanbase/table/StartupMode.java diff --git a/flink-connector-oceanbase-cdc/src/main/java/com/ververica/cdc/connectors/oceanbase/utils/OptionUtils.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc/src/main/java/com/ververica/cdc/connectors/oceanbase/utils/OptionUtils.java similarity index 100% rename from flink-connector-oceanbase-cdc/src/main/java/com/ververica/cdc/connectors/oceanbase/utils/OptionUtils.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc/src/main/java/com/ververica/cdc/connectors/oceanbase/utils/OptionUtils.java diff --git a/flink-connector-oceanbase-cdc/src/main/resources/META-INF/services/org.apache.flink.table.factories.Factory b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc/src/main/resources/META-INF/services/org.apache.flink.table.factories.Factory similarity index 100% rename from flink-connector-oceanbase-cdc/src/main/resources/META-INF/services/org.apache.flink.table.factories.Factory rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc/src/main/resources/META-INF/services/org.apache.flink.table.factories.Factory diff --git a/flink-connector-oceanbase-cdc/src/test/java/com/ververica/cdc/connectors/oceanbase/OceanBaseTestBase.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc/src/test/java/com/ververica/cdc/connectors/oceanbase/OceanBaseTestBase.java similarity index 100% rename from flink-connector-oceanbase-cdc/src/test/java/com/ververica/cdc/connectors/oceanbase/OceanBaseTestBase.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc/src/test/java/com/ververica/cdc/connectors/oceanbase/OceanBaseTestBase.java diff --git a/flink-connector-oceanbase-cdc/src/test/java/com/ververica/cdc/connectors/oceanbase/table/OceanBaseConnectorITCase.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc/src/test/java/com/ververica/cdc/connectors/oceanbase/table/OceanBaseConnectorITCase.java similarity index 100% rename from flink-connector-oceanbase-cdc/src/test/java/com/ververica/cdc/connectors/oceanbase/table/OceanBaseConnectorITCase.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc/src/test/java/com/ververica/cdc/connectors/oceanbase/table/OceanBaseConnectorITCase.java diff --git a/flink-connector-oceanbase-cdc/src/test/java/com/ververica/cdc/connectors/oceanbase/table/OceanBaseTableFactoryTest.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc/src/test/java/com/ververica/cdc/connectors/oceanbase/table/OceanBaseTableFactoryTest.java similarity index 100% rename from flink-connector-oceanbase-cdc/src/test/java/com/ververica/cdc/connectors/oceanbase/table/OceanBaseTableFactoryTest.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc/src/test/java/com/ververica/cdc/connectors/oceanbase/table/OceanBaseTableFactoryTest.java diff --git a/flink-connector-oceanbase-cdc/src/test/resources/ddl/column_type_test.sql b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc/src/test/resources/ddl/column_type_test.sql similarity index 100% rename from flink-connector-oceanbase-cdc/src/test/resources/ddl/column_type_test.sql rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc/src/test/resources/ddl/column_type_test.sql diff --git a/flink-connector-oceanbase-cdc/src/test/resources/ddl/inventory.sql b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc/src/test/resources/ddl/inventory.sql similarity index 100% rename from flink-connector-oceanbase-cdc/src/test/resources/ddl/inventory.sql rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc/src/test/resources/ddl/inventory.sql diff --git a/flink-connector-oceanbase-cdc/src/test/resources/ddl/inventory_meta.sql b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc/src/test/resources/ddl/inventory_meta.sql similarity index 100% rename from flink-connector-oceanbase-cdc/src/test/resources/ddl/inventory_meta.sql rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc/src/test/resources/ddl/inventory_meta.sql diff --git a/flink-connector-mysql-cdc/src/test/resources/log4j2-test.properties b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc/src/test/resources/log4j2-test.properties similarity index 100% rename from flink-connector-mysql-cdc/src/test/resources/log4j2-test.properties rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc/src/test/resources/log4j2-test.properties diff --git a/flink-connector-oracle-cdc/pom.xml b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/pom.xml similarity index 95% rename from flink-connector-oracle-cdc/pom.xml rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/pom.xml index 80ffecbb0..a9629979f 100644 --- a/flink-connector-oracle-cdc/pom.xml +++ b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/pom.xml @@ -17,9 +17,9 @@ under the License. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - flink-cdc-connectors + flink-cdc-source-connectors com.ververica - 2.5-SNAPSHOT + 3.0-SNAPSHOT 19.3.0.0 @@ -89,9 +89,9 @@ under the License. - com.oracle.database.xml - xdb - ${xdb.version} + com.oracle.database.xml + xdb + ${xdb.version} diff --git a/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/OracleSource.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/OracleSource.java similarity index 100% rename from flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/OracleSource.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/OracleSource.java diff --git a/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/OracleValidator.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/OracleValidator.java similarity index 100% rename from flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/OracleValidator.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/OracleValidator.java diff --git a/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/source/OracleDialect.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/source/OracleDialect.java similarity index 100% rename from flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/source/OracleDialect.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/source/OracleDialect.java diff --git a/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/source/OraclePooledDataSourceFactory.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/source/OraclePooledDataSourceFactory.java similarity index 100% rename from flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/source/OraclePooledDataSourceFactory.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/source/OraclePooledDataSourceFactory.java diff --git a/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/source/OracleSourceBuilder.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/source/OracleSourceBuilder.java similarity index 100% rename from flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/source/OracleSourceBuilder.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/source/OracleSourceBuilder.java diff --git a/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/source/assigner/splitter/OracleChunkSplitter.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/source/assigner/splitter/OracleChunkSplitter.java similarity index 100% rename from flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/source/assigner/splitter/OracleChunkSplitter.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/source/assigner/splitter/OracleChunkSplitter.java diff --git a/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/source/config/OracleSourceConfig.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/source/config/OracleSourceConfig.java similarity index 100% rename from flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/source/config/OracleSourceConfig.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/source/config/OracleSourceConfig.java diff --git a/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/source/config/OracleSourceConfigFactory.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/source/config/OracleSourceConfigFactory.java similarity index 100% rename from flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/source/config/OracleSourceConfigFactory.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/source/config/OracleSourceConfigFactory.java diff --git a/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/source/config/OracleSourceOptions.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/source/config/OracleSourceOptions.java similarity index 100% rename from flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/source/config/OracleSourceOptions.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/source/config/OracleSourceOptions.java diff --git a/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/source/meta/offset/RedoLogOffset.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/source/meta/offset/RedoLogOffset.java similarity index 100% rename from flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/source/meta/offset/RedoLogOffset.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/source/meta/offset/RedoLogOffset.java diff --git a/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/source/meta/offset/RedoLogOffsetFactory.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/source/meta/offset/RedoLogOffsetFactory.java similarity index 100% rename from flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/source/meta/offset/RedoLogOffsetFactory.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/source/meta/offset/RedoLogOffsetFactory.java diff --git a/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/source/reader/fetch/OracleScanFetchTask.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/source/reader/fetch/OracleScanFetchTask.java similarity index 100% rename from flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/source/reader/fetch/OracleScanFetchTask.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/source/reader/fetch/OracleScanFetchTask.java diff --git a/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/source/reader/fetch/OracleSourceFetchTaskContext.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/source/reader/fetch/OracleSourceFetchTaskContext.java similarity index 100% rename from flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/source/reader/fetch/OracleSourceFetchTaskContext.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/source/reader/fetch/OracleSourceFetchTaskContext.java diff --git a/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/source/reader/fetch/OracleStreamFetchTask.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/source/reader/fetch/OracleStreamFetchTask.java similarity index 100% rename from flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/source/reader/fetch/OracleStreamFetchTask.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/source/reader/fetch/OracleStreamFetchTask.java diff --git a/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/source/utils/OracleConnectionUtils.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/source/utils/OracleConnectionUtils.java similarity index 100% rename from flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/source/utils/OracleConnectionUtils.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/source/utils/OracleConnectionUtils.java diff --git a/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/source/utils/OracleSchema.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/source/utils/OracleSchema.java similarity index 100% rename from flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/source/utils/OracleSchema.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/source/utils/OracleSchema.java diff --git a/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/source/utils/OracleTypeUtils.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/source/utils/OracleTypeUtils.java similarity index 100% rename from flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/source/utils/OracleTypeUtils.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/source/utils/OracleTypeUtils.java diff --git a/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/source/utils/OracleUtils.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/source/utils/OracleUtils.java similarity index 100% rename from flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/source/utils/OracleUtils.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/source/utils/OracleUtils.java diff --git a/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/table/OracleDeserializationConverterFactory.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/table/OracleDeserializationConverterFactory.java similarity index 100% rename from flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/table/OracleDeserializationConverterFactory.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/table/OracleDeserializationConverterFactory.java diff --git a/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/table/OracleReadableMetaData.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/table/OracleReadableMetaData.java similarity index 100% rename from flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/table/OracleReadableMetaData.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/table/OracleReadableMetaData.java diff --git a/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/table/OracleTableSource.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/table/OracleTableSource.java similarity index 100% rename from flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/table/OracleTableSource.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/table/OracleTableSource.java diff --git a/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/table/OracleTableSourceFactory.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/table/OracleTableSourceFactory.java similarity index 100% rename from flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/table/OracleTableSourceFactory.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/table/OracleTableSourceFactory.java diff --git a/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/util/ChunkUtils.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/util/ChunkUtils.java similarity index 100% rename from flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/util/ChunkUtils.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/util/ChunkUtils.java diff --git a/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/util/OracleJdbcUrlUtils.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/util/OracleJdbcUrlUtils.java similarity index 100% rename from flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/util/OracleJdbcUrlUtils.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/util/OracleJdbcUrlUtils.java diff --git a/flink-connector-oracle-cdc/src/main/java/io/debezium/connector/oracle/logminer/LogMinerAdapter.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/main/java/io/debezium/connector/oracle/logminer/LogMinerAdapter.java similarity index 100% rename from flink-connector-oracle-cdc/src/main/java/io/debezium/connector/oracle/logminer/LogMinerAdapter.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/main/java/io/debezium/connector/oracle/logminer/LogMinerAdapter.java diff --git a/flink-connector-oracle-cdc/src/main/java/io/debezium/connector/oracle/logminer/LogMinerChangeRecordEmitter.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/main/java/io/debezium/connector/oracle/logminer/LogMinerChangeRecordEmitter.java similarity index 100% rename from flink-connector-oracle-cdc/src/main/java/io/debezium/connector/oracle/logminer/LogMinerChangeRecordEmitter.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/main/java/io/debezium/connector/oracle/logminer/LogMinerChangeRecordEmitter.java diff --git a/flink-connector-oracle-cdc/src/main/java/io/debezium/connector/oracle/logminer/LogMinerStreamingChangeEventSource.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/main/java/io/debezium/connector/oracle/logminer/LogMinerStreamingChangeEventSource.java similarity index 100% rename from flink-connector-oracle-cdc/src/main/java/io/debezium/connector/oracle/logminer/LogMinerStreamingChangeEventSource.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/main/java/io/debezium/connector/oracle/logminer/LogMinerStreamingChangeEventSource.java diff --git a/flink-connector-oracle-cdc/src/main/java/io/debezium/connector/oracle/logminer/processor/AbstractLogMinerEventProcessor.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/main/java/io/debezium/connector/oracle/logminer/processor/AbstractLogMinerEventProcessor.java similarity index 100% rename from flink-connector-oracle-cdc/src/main/java/io/debezium/connector/oracle/logminer/processor/AbstractLogMinerEventProcessor.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/main/java/io/debezium/connector/oracle/logminer/processor/AbstractLogMinerEventProcessor.java diff --git a/flink-connector-oracle-cdc/src/main/resources/META-INF/services/org.apache.flink.table.factories.Factory b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/main/resources/META-INF/services/org.apache.flink.table.factories.Factory similarity index 100% rename from flink-connector-oracle-cdc/src/main/resources/META-INF/services/org.apache.flink.table.factories.Factory rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/main/resources/META-INF/services/org.apache.flink.table.factories.Factory diff --git a/flink-connector-oracle-cdc/src/test/java/com/ververica/cdc/connectors/oracle/OracleChangeEventSourceExampleTest.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/test/java/com/ververica/cdc/connectors/oracle/OracleChangeEventSourceExampleTest.java similarity index 100% rename from flink-connector-oracle-cdc/src/test/java/com/ververica/cdc/connectors/oracle/OracleChangeEventSourceExampleTest.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/test/java/com/ververica/cdc/connectors/oracle/OracleChangeEventSourceExampleTest.java diff --git a/flink-connector-oracle-cdc/src/test/java/com/ververica/cdc/connectors/oracle/OracleSourceTest.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/test/java/com/ververica/cdc/connectors/oracle/OracleSourceTest.java similarity index 100% rename from flink-connector-oracle-cdc/src/test/java/com/ververica/cdc/connectors/oracle/OracleSourceTest.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/test/java/com/ververica/cdc/connectors/oracle/OracleSourceTest.java diff --git a/flink-connector-oracle-cdc/src/test/java/com/ververica/cdc/connectors/oracle/source/OracleSourceITCase.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/test/java/com/ververica/cdc/connectors/oracle/source/OracleSourceITCase.java similarity index 100% rename from flink-connector-oracle-cdc/src/test/java/com/ververica/cdc/connectors/oracle/source/OracleSourceITCase.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/test/java/com/ververica/cdc/connectors/oracle/source/OracleSourceITCase.java diff --git a/flink-connector-oracle-cdc/src/test/java/com/ververica/cdc/connectors/oracle/source/OracleSourceTestBase.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/test/java/com/ververica/cdc/connectors/oracle/source/OracleSourceTestBase.java similarity index 100% rename from flink-connector-oracle-cdc/src/test/java/com/ververica/cdc/connectors/oracle/source/OracleSourceTestBase.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/test/java/com/ververica/cdc/connectors/oracle/source/OracleSourceTestBase.java diff --git a/flink-connector-oracle-cdc/src/test/java/com/ververica/cdc/connectors/oracle/table/OracleConnectorITCase.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/test/java/com/ververica/cdc/connectors/oracle/table/OracleConnectorITCase.java similarity index 100% rename from flink-connector-oracle-cdc/src/test/java/com/ververica/cdc/connectors/oracle/table/OracleConnectorITCase.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/test/java/com/ververica/cdc/connectors/oracle/table/OracleConnectorITCase.java diff --git a/flink-connector-oracle-cdc/src/test/java/com/ververica/cdc/connectors/oracle/table/OracleTableSourceFactoryTest.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/test/java/com/ververica/cdc/connectors/oracle/table/OracleTableSourceFactoryTest.java similarity index 100% rename from flink-connector-oracle-cdc/src/test/java/com/ververica/cdc/connectors/oracle/table/OracleTableSourceFactoryTest.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/test/java/com/ververica/cdc/connectors/oracle/table/OracleTableSourceFactoryTest.java diff --git a/flink-connector-oracle-cdc/src/test/java/org/testcontainers/containers/OracleContainer.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/test/java/org/testcontainers/containers/OracleContainer.java similarity index 100% rename from flink-connector-oracle-cdc/src/test/java/org/testcontainers/containers/OracleContainer.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/test/java/org/testcontainers/containers/OracleContainer.java diff --git a/flink-connector-oracle-cdc/src/test/resources/ddl/column_type_test.sql b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/test/resources/ddl/column_type_test.sql similarity index 100% rename from flink-connector-oracle-cdc/src/test/resources/ddl/column_type_test.sql rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/test/resources/ddl/column_type_test.sql diff --git a/flink-connector-oracle-cdc/src/test/resources/ddl/customer.sql b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/test/resources/ddl/customer.sql similarity index 100% rename from flink-connector-oracle-cdc/src/test/resources/ddl/customer.sql rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/test/resources/ddl/customer.sql diff --git a/flink-connector-oracle-cdc/src/test/resources/ddl/product.sql b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/test/resources/ddl/product.sql similarity index 100% rename from flink-connector-oracle-cdc/src/test/resources/ddl/product.sql rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/test/resources/ddl/product.sql diff --git a/flink-connector-oceanbase-cdc/src/test/resources/log4j2-test.properties b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/test/resources/log4j2-test.properties similarity index 100% rename from flink-connector-oceanbase-cdc/src/test/resources/log4j2-test.properties rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/src/test/resources/log4j2-test.properties diff --git a/flink-connector-postgres-cdc/pom.xml b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/pom.xml similarity index 98% rename from flink-connector-postgres-cdc/pom.xml rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/pom.xml index 803c192a5..bf6e5b8e2 100644 --- a/flink-connector-postgres-cdc/pom.xml +++ b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/pom.xml @@ -17,9 +17,9 @@ under the License. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - flink-cdc-connectors + flink-cdc-source-connectors com.ververica - 2.5-SNAPSHOT + 3.0-SNAPSHOT 4.0.0 diff --git a/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/PostgreSQLSource.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/PostgreSQLSource.java similarity index 100% rename from flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/PostgreSQLSource.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/PostgreSQLSource.java diff --git a/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/PostgresChunkSplitter.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/PostgresChunkSplitter.java similarity index 100% rename from flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/PostgresChunkSplitter.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/PostgresChunkSplitter.java diff --git a/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/PostgresConnectionPoolFactory.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/PostgresConnectionPoolFactory.java similarity index 100% rename from flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/PostgresConnectionPoolFactory.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/PostgresConnectionPoolFactory.java diff --git a/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/PostgresDialect.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/PostgresDialect.java similarity index 100% rename from flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/PostgresDialect.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/PostgresDialect.java diff --git a/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/PostgresSourceBuilder.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/PostgresSourceBuilder.java similarity index 100% rename from flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/PostgresSourceBuilder.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/PostgresSourceBuilder.java diff --git a/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/config/PostgresSourceConfig.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/config/PostgresSourceConfig.java similarity index 100% rename from flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/config/PostgresSourceConfig.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/config/PostgresSourceConfig.java diff --git a/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/config/PostgresSourceConfigFactory.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/config/PostgresSourceConfigFactory.java similarity index 100% rename from flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/config/PostgresSourceConfigFactory.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/config/PostgresSourceConfigFactory.java diff --git a/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/config/PostgresSourceOptions.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/config/PostgresSourceOptions.java similarity index 100% rename from flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/config/PostgresSourceOptions.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/config/PostgresSourceOptions.java diff --git a/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/enumerator/PostgresSourceEnumerator.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/enumerator/PostgresSourceEnumerator.java similarity index 100% rename from flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/enumerator/PostgresSourceEnumerator.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/enumerator/PostgresSourceEnumerator.java diff --git a/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/fetch/PostgresScanFetchTask.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/fetch/PostgresScanFetchTask.java similarity index 100% rename from flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/fetch/PostgresScanFetchTask.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/fetch/PostgresScanFetchTask.java diff --git a/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/fetch/PostgresSourceFetchTaskContext.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/fetch/PostgresSourceFetchTaskContext.java similarity index 100% rename from flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/fetch/PostgresSourceFetchTaskContext.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/fetch/PostgresSourceFetchTaskContext.java diff --git a/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/fetch/PostgresStreamFetchTask.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/fetch/PostgresStreamFetchTask.java similarity index 100% rename from flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/fetch/PostgresStreamFetchTask.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/fetch/PostgresStreamFetchTask.java diff --git a/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/offset/PostgresOffset.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/offset/PostgresOffset.java similarity index 100% rename from flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/offset/PostgresOffset.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/offset/PostgresOffset.java diff --git a/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/offset/PostgresOffsetFactory.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/offset/PostgresOffsetFactory.java similarity index 100% rename from flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/offset/PostgresOffsetFactory.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/offset/PostgresOffsetFactory.java diff --git a/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/offset/PostgresOffsetUtils.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/offset/PostgresOffsetUtils.java similarity index 100% rename from flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/offset/PostgresOffsetUtils.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/offset/PostgresOffsetUtils.java diff --git a/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/utils/ChunkUtils.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/utils/ChunkUtils.java similarity index 100% rename from flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/utils/ChunkUtils.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/utils/ChunkUtils.java diff --git a/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/utils/CustomPostgresSchema.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/utils/CustomPostgresSchema.java similarity index 100% rename from flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/utils/CustomPostgresSchema.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/utils/CustomPostgresSchema.java diff --git a/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/utils/PostgresQueryUtils.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/utils/PostgresQueryUtils.java similarity index 100% rename from flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/utils/PostgresQueryUtils.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/utils/PostgresQueryUtils.java diff --git a/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/utils/PostgresTypeUtils.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/utils/PostgresTypeUtils.java similarity index 100% rename from flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/utils/PostgresTypeUtils.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/utils/PostgresTypeUtils.java diff --git a/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/utils/TableDiscoveryUtils.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/utils/TableDiscoveryUtils.java similarity index 100% rename from flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/utils/TableDiscoveryUtils.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/source/utils/TableDiscoveryUtils.java diff --git a/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/table/PostgreSQLDeserializationConverterFactory.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/table/PostgreSQLDeserializationConverterFactory.java similarity index 100% rename from flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/table/PostgreSQLDeserializationConverterFactory.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/table/PostgreSQLDeserializationConverterFactory.java diff --git a/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/table/PostgreSQLReadableMetadata.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/table/PostgreSQLReadableMetadata.java similarity index 100% rename from flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/table/PostgreSQLReadableMetadata.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/table/PostgreSQLReadableMetadata.java diff --git a/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/table/PostgreSQLTableFactory.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/table/PostgreSQLTableFactory.java similarity index 100% rename from flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/table/PostgreSQLTableFactory.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/table/PostgreSQLTableFactory.java diff --git a/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/table/PostgreSQLTableSource.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/table/PostgreSQLTableSource.java similarity index 100% rename from flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/table/PostgreSQLTableSource.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/table/PostgreSQLTableSource.java diff --git a/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/table/PostgresValueValidator.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/table/PostgresValueValidator.java similarity index 100% rename from flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/table/PostgresValueValidator.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/table/PostgresValueValidator.java diff --git a/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/utils/OptionUtils.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/utils/OptionUtils.java similarity index 100% rename from flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/utils/OptionUtils.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/utils/OptionUtils.java diff --git a/flink-connector-postgres-cdc/src/main/java/io/debezium/connector/postgresql/PostgresObjectUtils.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/java/io/debezium/connector/postgresql/PostgresObjectUtils.java similarity index 100% rename from flink-connector-postgres-cdc/src/main/java/io/debezium/connector/postgresql/PostgresObjectUtils.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/java/io/debezium/connector/postgresql/PostgresObjectUtils.java diff --git a/flink-connector-postgres-cdc/src/main/java/io/debezium/connector/postgresql/PostgresStreamingChangeEventSource.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/java/io/debezium/connector/postgresql/PostgresStreamingChangeEventSource.java similarity index 100% rename from flink-connector-postgres-cdc/src/main/java/io/debezium/connector/postgresql/PostgresStreamingChangeEventSource.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/java/io/debezium/connector/postgresql/PostgresStreamingChangeEventSource.java diff --git a/flink-connector-postgres-cdc/src/main/java/io/debezium/connector/postgresql/Utils.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/java/io/debezium/connector/postgresql/Utils.java similarity index 100% rename from flink-connector-postgres-cdc/src/main/java/io/debezium/connector/postgresql/Utils.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/java/io/debezium/connector/postgresql/Utils.java diff --git a/flink-connector-postgres-cdc/src/main/java/io/debezium/connector/postgresql/connection/Lsn.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/java/io/debezium/connector/postgresql/connection/Lsn.java similarity index 100% rename from flink-connector-postgres-cdc/src/main/java/io/debezium/connector/postgresql/connection/Lsn.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/java/io/debezium/connector/postgresql/connection/Lsn.java diff --git a/flink-connector-postgres-cdc/src/main/java/io/debezium/connector/postgresql/connection/PostgresConnection.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/java/io/debezium/connector/postgresql/connection/PostgresConnection.java similarity index 100% rename from flink-connector-postgres-cdc/src/main/java/io/debezium/connector/postgresql/connection/PostgresConnection.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/java/io/debezium/connector/postgresql/connection/PostgresConnection.java diff --git a/flink-connector-postgres-cdc/src/main/java/io/debezium/connector/postgresql/connection/PostgresReplicationConnection.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/java/io/debezium/connector/postgresql/connection/PostgresReplicationConnection.java similarity index 100% rename from flink-connector-postgres-cdc/src/main/java/io/debezium/connector/postgresql/connection/PostgresReplicationConnection.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/java/io/debezium/connector/postgresql/connection/PostgresReplicationConnection.java diff --git a/flink-connector-postgres-cdc/src/main/resources/META-INF/services/org.apache.flink.table.factories.Factory b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/resources/META-INF/services/org.apache.flink.table.factories.Factory similarity index 100% rename from flink-connector-postgres-cdc/src/main/resources/META-INF/services/org.apache.flink.table.factories.Factory rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/main/resources/META-INF/services/org.apache.flink.table.factories.Factory diff --git a/flink-connector-postgres-cdc/src/test/java/com/ververica/cdc/connectors/postgres/PostgreSQLSourceTest.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/test/java/com/ververica/cdc/connectors/postgres/PostgreSQLSourceTest.java similarity index 100% rename from flink-connector-postgres-cdc/src/test/java/com/ververica/cdc/connectors/postgres/PostgreSQLSourceTest.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/test/java/com/ververica/cdc/connectors/postgres/PostgreSQLSourceTest.java diff --git a/flink-connector-postgres-cdc/src/test/java/com/ververica/cdc/connectors/postgres/PostgresTestBase.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/test/java/com/ververica/cdc/connectors/postgres/PostgresTestBase.java similarity index 100% rename from flink-connector-postgres-cdc/src/test/java/com/ververica/cdc/connectors/postgres/PostgresTestBase.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/test/java/com/ververica/cdc/connectors/postgres/PostgresTestBase.java diff --git a/flink-connector-postgres-cdc/src/test/java/com/ververica/cdc/connectors/postgres/source/PostgresDialectTest.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/test/java/com/ververica/cdc/connectors/postgres/source/PostgresDialectTest.java similarity index 100% rename from flink-connector-postgres-cdc/src/test/java/com/ververica/cdc/connectors/postgres/source/PostgresDialectTest.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/test/java/com/ververica/cdc/connectors/postgres/source/PostgresDialectTest.java diff --git a/flink-connector-postgres-cdc/src/test/java/com/ververica/cdc/connectors/postgres/source/PostgresSourceExampleTest.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/test/java/com/ververica/cdc/connectors/postgres/source/PostgresSourceExampleTest.java similarity index 100% rename from flink-connector-postgres-cdc/src/test/java/com/ververica/cdc/connectors/postgres/source/PostgresSourceExampleTest.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/test/java/com/ververica/cdc/connectors/postgres/source/PostgresSourceExampleTest.java diff --git a/flink-connector-postgres-cdc/src/test/java/com/ververica/cdc/connectors/postgres/source/PostgresSourceITCase.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/test/java/com/ververica/cdc/connectors/postgres/source/PostgresSourceITCase.java similarity index 100% rename from flink-connector-postgres-cdc/src/test/java/com/ververica/cdc/connectors/postgres/source/PostgresSourceITCase.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/test/java/com/ververica/cdc/connectors/postgres/source/PostgresSourceITCase.java diff --git a/flink-connector-postgres-cdc/src/test/java/com/ververica/cdc/connectors/postgres/source/fetch/PostgresSourceFetchTaskContextTest.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/test/java/com/ververica/cdc/connectors/postgres/source/fetch/PostgresSourceFetchTaskContextTest.java similarity index 100% rename from flink-connector-postgres-cdc/src/test/java/com/ververica/cdc/connectors/postgres/source/fetch/PostgresSourceFetchTaskContextTest.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/test/java/com/ververica/cdc/connectors/postgres/source/fetch/PostgresSourceFetchTaskContextTest.java diff --git a/flink-connector-postgres-cdc/src/test/java/com/ververica/cdc/connectors/postgres/table/PostgreSQLConnectorITCase.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/test/java/com/ververica/cdc/connectors/postgres/table/PostgreSQLConnectorITCase.java similarity index 100% rename from flink-connector-postgres-cdc/src/test/java/com/ververica/cdc/connectors/postgres/table/PostgreSQLConnectorITCase.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/test/java/com/ververica/cdc/connectors/postgres/table/PostgreSQLConnectorITCase.java diff --git a/flink-connector-postgres-cdc/src/test/java/com/ververica/cdc/connectors/postgres/table/PostgreSQLSavepointITCase.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/test/java/com/ververica/cdc/connectors/postgres/table/PostgreSQLSavepointITCase.java similarity index 100% rename from flink-connector-postgres-cdc/src/test/java/com/ververica/cdc/connectors/postgres/table/PostgreSQLSavepointITCase.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/test/java/com/ververica/cdc/connectors/postgres/table/PostgreSQLSavepointITCase.java diff --git a/flink-connector-postgres-cdc/src/test/java/com/ververica/cdc/connectors/postgres/table/PostgreSQLTableFactoryTest.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/test/java/com/ververica/cdc/connectors/postgres/table/PostgreSQLTableFactoryTest.java similarity index 100% rename from flink-connector-postgres-cdc/src/test/java/com/ververica/cdc/connectors/postgres/table/PostgreSQLTableFactoryTest.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/test/java/com/ververica/cdc/connectors/postgres/table/PostgreSQLTableFactoryTest.java diff --git a/flink-connector-postgres-cdc/src/test/java/com/ververica/cdc/connectors/postgres/testutils/TestHelper.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/test/java/com/ververica/cdc/connectors/postgres/testutils/TestHelper.java similarity index 100% rename from flink-connector-postgres-cdc/src/test/java/com/ververica/cdc/connectors/postgres/testutils/TestHelper.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/test/java/com/ververica/cdc/connectors/postgres/testutils/TestHelper.java diff --git a/flink-connector-postgres-cdc/src/test/java/com/ververica/cdc/connectors/postgres/testutils/UniqueDatabase.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/test/java/com/ververica/cdc/connectors/postgres/testutils/UniqueDatabase.java similarity index 100% rename from flink-connector-postgres-cdc/src/test/java/com/ververica/cdc/connectors/postgres/testutils/UniqueDatabase.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/test/java/com/ververica/cdc/connectors/postgres/testutils/UniqueDatabase.java diff --git a/flink-connector-postgres-cdc/src/test/resources/ddl/column_type_test.sql b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/test/resources/ddl/column_type_test.sql similarity index 100% rename from flink-connector-postgres-cdc/src/test/resources/ddl/column_type_test.sql rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/test/resources/ddl/column_type_test.sql diff --git a/flink-connector-postgres-cdc/src/test/resources/ddl/customer.sql b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/test/resources/ddl/customer.sql similarity index 100% rename from flink-connector-postgres-cdc/src/test/resources/ddl/customer.sql rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/test/resources/ddl/customer.sql diff --git a/flink-connector-postgres-cdc/src/test/resources/ddl/inventory.sql b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/test/resources/ddl/inventory.sql similarity index 100% rename from flink-connector-postgres-cdc/src/test/resources/ddl/inventory.sql rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/test/resources/ddl/inventory.sql diff --git a/flink-connector-postgres-cdc/src/test/resources/ddl/replica_identity.sql b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/test/resources/ddl/replica_identity.sql similarity index 100% rename from flink-connector-postgres-cdc/src/test/resources/ddl/replica_identity.sql rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/test/resources/ddl/replica_identity.sql diff --git a/flink-connector-oracle-cdc/src/test/resources/log4j2-test.properties b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/test/resources/log4j2-test.properties similarity index 100% rename from flink-connector-oracle-cdc/src/test/resources/log4j2-test.properties rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/src/test/resources/log4j2-test.properties diff --git a/flink-connector-sqlserver-cdc/pom.xml b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/pom.xml similarity index 97% rename from flink-connector-sqlserver-cdc/pom.xml rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/pom.xml index b9fa10770..bf6cb1cf0 100644 --- a/flink-connector-sqlserver-cdc/pom.xml +++ b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/pom.xml @@ -17,9 +17,9 @@ under the License. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - flink-cdc-connectors + flink-cdc-source-connectors com.ververica - 2.5-SNAPSHOT + 3.0-SNAPSHOT 4.0.0 diff --git a/flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/SqlServerSource.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/SqlServerSource.java similarity index 100% rename from flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/SqlServerSource.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/SqlServerSource.java diff --git a/flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/SqlServerValidator.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/SqlServerValidator.java similarity index 100% rename from flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/SqlServerValidator.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/SqlServerValidator.java diff --git a/flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/source/SqlServerSourceBuilder.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/source/SqlServerSourceBuilder.java similarity index 100% rename from flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/source/SqlServerSourceBuilder.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/source/SqlServerSourceBuilder.java diff --git a/flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/source/config/SqlServerSourceConfig.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/source/config/SqlServerSourceConfig.java similarity index 100% rename from flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/source/config/SqlServerSourceConfig.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/source/config/SqlServerSourceConfig.java diff --git a/flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/source/config/SqlServerSourceConfigFactory.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/source/config/SqlServerSourceConfigFactory.java similarity index 100% rename from flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/source/config/SqlServerSourceConfigFactory.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/source/config/SqlServerSourceConfigFactory.java diff --git a/flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/source/dialect/SqlServerChunkSplitter.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/source/dialect/SqlServerChunkSplitter.java similarity index 100% rename from flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/source/dialect/SqlServerChunkSplitter.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/source/dialect/SqlServerChunkSplitter.java diff --git a/flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/source/dialect/SqlServerDialect.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/source/dialect/SqlServerDialect.java similarity index 100% rename from flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/source/dialect/SqlServerDialect.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/source/dialect/SqlServerDialect.java diff --git a/flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/source/dialect/SqlServerPooledDataSourceFactory.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/source/dialect/SqlServerPooledDataSourceFactory.java similarity index 100% rename from flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/source/dialect/SqlServerPooledDataSourceFactory.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/source/dialect/SqlServerPooledDataSourceFactory.java diff --git a/flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/source/dialect/SqlServerSchema.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/source/dialect/SqlServerSchema.java similarity index 100% rename from flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/source/dialect/SqlServerSchema.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/source/dialect/SqlServerSchema.java diff --git a/flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/source/offset/LsnFactory.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/source/offset/LsnFactory.java similarity index 100% rename from flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/source/offset/LsnFactory.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/source/offset/LsnFactory.java diff --git a/flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/source/offset/LsnOffset.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/source/offset/LsnOffset.java similarity index 100% rename from flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/source/offset/LsnOffset.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/source/offset/LsnOffset.java diff --git a/flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/source/reader/fetch/SqlServerScanFetchTask.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/source/reader/fetch/SqlServerScanFetchTask.java similarity index 100% rename from flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/source/reader/fetch/SqlServerScanFetchTask.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/source/reader/fetch/SqlServerScanFetchTask.java diff --git a/flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/source/reader/fetch/SqlServerSourceFetchTaskContext.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/source/reader/fetch/SqlServerSourceFetchTaskContext.java similarity index 100% rename from flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/source/reader/fetch/SqlServerSourceFetchTaskContext.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/source/reader/fetch/SqlServerSourceFetchTaskContext.java diff --git a/flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/source/reader/fetch/SqlServerStreamFetchTask.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/source/reader/fetch/SqlServerStreamFetchTask.java similarity index 100% rename from flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/source/reader/fetch/SqlServerStreamFetchTask.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/source/reader/fetch/SqlServerStreamFetchTask.java diff --git a/flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/source/utils/SqlServerConnectionUtils.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/source/utils/SqlServerConnectionUtils.java similarity index 100% rename from flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/source/utils/SqlServerConnectionUtils.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/source/utils/SqlServerConnectionUtils.java diff --git a/flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/source/utils/SqlServerTypeUtils.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/source/utils/SqlServerTypeUtils.java similarity index 100% rename from flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/source/utils/SqlServerTypeUtils.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/source/utils/SqlServerTypeUtils.java diff --git a/flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/source/utils/SqlServerUtils.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/source/utils/SqlServerUtils.java similarity index 100% rename from flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/source/utils/SqlServerUtils.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/source/utils/SqlServerUtils.java diff --git a/flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/table/SqlServerDeserializationConverterFactory.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/table/SqlServerDeserializationConverterFactory.java similarity index 100% rename from flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/table/SqlServerDeserializationConverterFactory.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/table/SqlServerDeserializationConverterFactory.java diff --git a/flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/table/SqlServerReadableMetadata.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/table/SqlServerReadableMetadata.java similarity index 100% rename from flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/table/SqlServerReadableMetadata.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/table/SqlServerReadableMetadata.java diff --git a/flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/table/SqlServerTableFactory.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/table/SqlServerTableFactory.java similarity index 100% rename from flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/table/SqlServerTableFactory.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/table/SqlServerTableFactory.java diff --git a/flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/table/SqlServerTableSource.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/table/SqlServerTableSource.java similarity index 100% rename from flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/table/SqlServerTableSource.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/table/SqlServerTableSource.java diff --git a/flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/table/StartupMode.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/table/StartupMode.java similarity index 100% rename from flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/table/StartupMode.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/table/StartupMode.java diff --git a/flink-connector-sqlserver-cdc/src/main/java/io/debezium/connector/sqlserver/SqlServerStreamingChangeEventSource.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/main/java/io/debezium/connector/sqlserver/SqlServerStreamingChangeEventSource.java similarity index 100% rename from flink-connector-sqlserver-cdc/src/main/java/io/debezium/connector/sqlserver/SqlServerStreamingChangeEventSource.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/main/java/io/debezium/connector/sqlserver/SqlServerStreamingChangeEventSource.java diff --git a/flink-connector-sqlserver-cdc/src/main/resources/META-INF/services/org.apache.flink.table.factories.Factory b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/main/resources/META-INF/services/org.apache.flink.table.factories.Factory similarity index 100% rename from flink-connector-sqlserver-cdc/src/main/resources/META-INF/services/org.apache.flink.table.factories.Factory rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/main/resources/META-INF/services/org.apache.flink.table.factories.Factory diff --git a/flink-connector-sqlserver-cdc/src/test/java/com/ververica/cdc/connectors/sqlserver/SqlServerParallelSourceExampleTest.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/test/java/com/ververica/cdc/connectors/sqlserver/SqlServerParallelSourceExampleTest.java similarity index 100% rename from flink-connector-sqlserver-cdc/src/test/java/com/ververica/cdc/connectors/sqlserver/SqlServerParallelSourceExampleTest.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/test/java/com/ververica/cdc/connectors/sqlserver/SqlServerParallelSourceExampleTest.java diff --git a/flink-connector-sqlserver-cdc/src/test/java/com/ververica/cdc/connectors/sqlserver/SqlServerTestBase.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/test/java/com/ververica/cdc/connectors/sqlserver/SqlServerTestBase.java similarity index 100% rename from flink-connector-sqlserver-cdc/src/test/java/com/ververica/cdc/connectors/sqlserver/SqlServerTestBase.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/test/java/com/ververica/cdc/connectors/sqlserver/SqlServerTestBase.java diff --git a/flink-connector-sqlserver-cdc/src/test/java/com/ververica/cdc/connectors/sqlserver/source/SqlServerSourceITCase.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/test/java/com/ververica/cdc/connectors/sqlserver/source/SqlServerSourceITCase.java similarity index 100% rename from flink-connector-sqlserver-cdc/src/test/java/com/ververica/cdc/connectors/sqlserver/source/SqlServerSourceITCase.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/test/java/com/ververica/cdc/connectors/sqlserver/source/SqlServerSourceITCase.java diff --git a/flink-connector-sqlserver-cdc/src/test/java/com/ververica/cdc/connectors/sqlserver/source/SqlServerSourceTestBase.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/test/java/com/ververica/cdc/connectors/sqlserver/source/SqlServerSourceTestBase.java similarity index 100% rename from flink-connector-sqlserver-cdc/src/test/java/com/ververica/cdc/connectors/sqlserver/source/SqlServerSourceTestBase.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/test/java/com/ververica/cdc/connectors/sqlserver/source/SqlServerSourceTestBase.java diff --git a/flink-connector-sqlserver-cdc/src/test/java/com/ververica/cdc/connectors/sqlserver/source/read/fetch/SqlServerScanFetchTaskTest.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/test/java/com/ververica/cdc/connectors/sqlserver/source/read/fetch/SqlServerScanFetchTaskTest.java similarity index 100% rename from flink-connector-sqlserver-cdc/src/test/java/com/ververica/cdc/connectors/sqlserver/source/read/fetch/SqlServerScanFetchTaskTest.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/test/java/com/ververica/cdc/connectors/sqlserver/source/read/fetch/SqlServerScanFetchTaskTest.java diff --git a/flink-connector-sqlserver-cdc/src/test/java/com/ververica/cdc/connectors/sqlserver/table/SqlServerConnectorITCase.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/test/java/com/ververica/cdc/connectors/sqlserver/table/SqlServerConnectorITCase.java similarity index 100% rename from flink-connector-sqlserver-cdc/src/test/java/com/ververica/cdc/connectors/sqlserver/table/SqlServerConnectorITCase.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/test/java/com/ververica/cdc/connectors/sqlserver/table/SqlServerConnectorITCase.java diff --git a/flink-connector-sqlserver-cdc/src/test/java/com/ververica/cdc/connectors/sqlserver/table/SqlServerTableFactoryTest.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/test/java/com/ververica/cdc/connectors/sqlserver/table/SqlServerTableFactoryTest.java similarity index 100% rename from flink-connector-sqlserver-cdc/src/test/java/com/ververica/cdc/connectors/sqlserver/table/SqlServerTableFactoryTest.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/test/java/com/ververica/cdc/connectors/sqlserver/table/SqlServerTableFactoryTest.java diff --git a/flink-connector-sqlserver-cdc/src/test/java/com/ververica/cdc/connectors/sqlserver/table/SqlServerTimezoneITCase.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/test/java/com/ververica/cdc/connectors/sqlserver/table/SqlServerTimezoneITCase.java similarity index 100% rename from flink-connector-sqlserver-cdc/src/test/java/com/ververica/cdc/connectors/sqlserver/table/SqlServerTimezoneITCase.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/test/java/com/ververica/cdc/connectors/sqlserver/table/SqlServerTimezoneITCase.java diff --git a/flink-connector-sqlserver-cdc/src/test/java/com/ververica/cdc/connectors/sqlserver/testutils/RecordsFormatter.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/test/java/com/ververica/cdc/connectors/sqlserver/testutils/RecordsFormatter.java similarity index 100% rename from flink-connector-sqlserver-cdc/src/test/java/com/ververica/cdc/connectors/sqlserver/testutils/RecordsFormatter.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/test/java/com/ververica/cdc/connectors/sqlserver/testutils/RecordsFormatter.java diff --git a/flink-cdc-e2e-tests/src/test/resources/container-license-acceptance.txt b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/test/resources/container-license-acceptance.txt similarity index 100% rename from flink-cdc-e2e-tests/src/test/resources/container-license-acceptance.txt rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/test/resources/container-license-acceptance.txt diff --git a/flink-connector-sqlserver-cdc/src/test/resources/ddl/column_type_test.sql b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/test/resources/ddl/column_type_test.sql similarity index 100% rename from flink-connector-sqlserver-cdc/src/test/resources/ddl/column_type_test.sql rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/test/resources/ddl/column_type_test.sql diff --git a/flink-connector-sqlserver-cdc/src/test/resources/ddl/customer.sql b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/test/resources/ddl/customer.sql similarity index 100% rename from flink-connector-sqlserver-cdc/src/test/resources/ddl/customer.sql rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/test/resources/ddl/customer.sql diff --git a/flink-connector-sqlserver-cdc/src/test/resources/ddl/inventory.sql b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/test/resources/ddl/inventory.sql similarity index 100% rename from flink-connector-sqlserver-cdc/src/test/resources/ddl/inventory.sql rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/test/resources/ddl/inventory.sql diff --git a/flink-connector-sqlserver-cdc/src/test/resources/ddl/product.sql b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/test/resources/ddl/product.sql similarity index 100% rename from flink-connector-sqlserver-cdc/src/test/resources/ddl/product.sql rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/test/resources/ddl/product.sql diff --git a/flink-connector-postgres-cdc/src/test/resources/log4j2-test.properties b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/test/resources/log4j2-test.properties similarity index 100% rename from flink-connector-postgres-cdc/src/test/resources/log4j2-test.properties rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/src/test/resources/log4j2-test.properties diff --git a/flink-connector-test-util/pom.xml b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-test-util/pom.xml similarity index 94% rename from flink-connector-test-util/pom.xml rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-test-util/pom.xml index ea7ae19aa..4f2626a45 100644 --- a/flink-connector-test-util/pom.xml +++ b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-test-util/pom.xml @@ -17,9 +17,9 @@ under the License. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - flink-cdc-connectors + flink-cdc-source-connectors com.ververica - 2.5-SNAPSHOT + 3.0-SNAPSHOT 4.0.0 diff --git a/flink-connector-test-util/src/main/java/com/ververica/cdc/connectors/utils/AssertUtils.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-test-util/src/main/java/com/ververica/cdc/connectors/utils/AssertUtils.java similarity index 100% rename from flink-connector-test-util/src/main/java/com/ververica/cdc/connectors/utils/AssertUtils.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-test-util/src/main/java/com/ververica/cdc/connectors/utils/AssertUtils.java diff --git a/flink-connector-test-util/src/main/java/com/ververica/cdc/connectors/utils/TestSourceContext.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-test-util/src/main/java/com/ververica/cdc/connectors/utils/TestSourceContext.java similarity index 100% rename from flink-connector-test-util/src/main/java/com/ververica/cdc/connectors/utils/TestSourceContext.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-test-util/src/main/java/com/ververica/cdc/connectors/utils/TestSourceContext.java diff --git a/flink-connector-tidb-cdc/pom.xml b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/pom.xml similarity index 97% rename from flink-connector-tidb-cdc/pom.xml rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/pom.xml index a52dcf6e2..5fd657fd4 100644 --- a/flink-connector-tidb-cdc/pom.xml +++ b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/pom.xml @@ -17,9 +17,9 @@ under the License. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - flink-cdc-connectors + flink-cdc-source-connectors com.ververica - 2.5-SNAPSHOT + 3.0-SNAPSHOT 4.0.0 diff --git a/flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/TDBSourceOptions.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/TDBSourceOptions.java similarity index 100% rename from flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/TDBSourceOptions.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/TDBSourceOptions.java diff --git a/flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/TiDBSource.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/TiDBSource.java similarity index 100% rename from flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/TiDBSource.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/TiDBSource.java diff --git a/flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/TiKVChangeEventDeserializationSchema.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/TiKVChangeEventDeserializationSchema.java similarity index 100% rename from flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/TiKVChangeEventDeserializationSchema.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/TiKVChangeEventDeserializationSchema.java diff --git a/flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/TiKVRichParallelSourceFunction.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/TiKVRichParallelSourceFunction.java similarity index 100% rename from flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/TiKVRichParallelSourceFunction.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/TiKVRichParallelSourceFunction.java diff --git a/flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/TiKVSnapshotEventDeserializationSchema.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/TiKVSnapshotEventDeserializationSchema.java similarity index 100% rename from flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/TiKVSnapshotEventDeserializationSchema.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/TiKVSnapshotEventDeserializationSchema.java diff --git a/flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/table/RowDataTiKVChangeEventDeserializationSchema.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/table/RowDataTiKVChangeEventDeserializationSchema.java similarity index 100% rename from flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/table/RowDataTiKVChangeEventDeserializationSchema.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/table/RowDataTiKVChangeEventDeserializationSchema.java diff --git a/flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/table/RowDataTiKVEventDeserializationSchemaBase.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/table/RowDataTiKVEventDeserializationSchemaBase.java similarity index 100% rename from flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/table/RowDataTiKVEventDeserializationSchemaBase.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/table/RowDataTiKVEventDeserializationSchemaBase.java diff --git a/flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/table/RowDataTiKVSnapshotEventDeserializationSchema.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/table/RowDataTiKVSnapshotEventDeserializationSchema.java similarity index 100% rename from flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/table/RowDataTiKVSnapshotEventDeserializationSchema.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/table/RowDataTiKVSnapshotEventDeserializationSchema.java diff --git a/flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/table/StartupMode.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/table/StartupMode.java similarity index 100% rename from flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/table/StartupMode.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/table/StartupMode.java diff --git a/flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/table/StartupOptions.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/table/StartupOptions.java similarity index 100% rename from flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/table/StartupOptions.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/table/StartupOptions.java diff --git a/flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/table/TiDBTableSource.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/table/TiDBTableSource.java similarity index 100% rename from flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/table/TiDBTableSource.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/table/TiDBTableSource.java diff --git a/flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/table/TiDBTableSourceFactory.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/table/TiDBTableSourceFactory.java similarity index 100% rename from flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/table/TiDBTableSourceFactory.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/table/TiDBTableSourceFactory.java diff --git a/flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/table/TiKVAppendMetadataCollector.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/table/TiKVAppendMetadataCollector.java similarity index 100% rename from flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/table/TiKVAppendMetadataCollector.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/table/TiKVAppendMetadataCollector.java diff --git a/flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/table/TiKVDeserializationRuntimeConverter.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/table/TiKVDeserializationRuntimeConverter.java similarity index 100% rename from flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/table/TiKVDeserializationRuntimeConverter.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/table/TiKVDeserializationRuntimeConverter.java diff --git a/flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/table/TiKVMetadataConverter.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/table/TiKVMetadataConverter.java similarity index 100% rename from flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/table/TiKVMetadataConverter.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/table/TiKVMetadataConverter.java diff --git a/flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/table/TiKVReadableMetadata.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/table/TiKVReadableMetadata.java similarity index 100% rename from flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/table/TiKVReadableMetadata.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/table/TiKVReadableMetadata.java diff --git a/flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/table/utils/OptionUtils.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/table/utils/OptionUtils.java similarity index 100% rename from flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/table/utils/OptionUtils.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/table/utils/OptionUtils.java diff --git a/flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/table/utils/TableKeyRangeUtils.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/table/utils/TableKeyRangeUtils.java similarity index 100% rename from flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/table/utils/TableKeyRangeUtils.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/main/java/com/ververica/cdc/connectors/tidb/table/utils/TableKeyRangeUtils.java diff --git a/flink-connector-tidb-cdc/src/main/java/org/tikv/cdc/CDCClient.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/main/java/org/tikv/cdc/CDCClient.java similarity index 100% rename from flink-connector-tidb-cdc/src/main/java/org/tikv/cdc/CDCClient.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/main/java/org/tikv/cdc/CDCClient.java diff --git a/flink-connector-tidb-cdc/src/main/java/org/tikv/cdc/CDCEvent.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/main/java/org/tikv/cdc/CDCEvent.java similarity index 100% rename from flink-connector-tidb-cdc/src/main/java/org/tikv/cdc/CDCEvent.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/main/java/org/tikv/cdc/CDCEvent.java diff --git a/flink-connector-tidb-cdc/src/main/java/org/tikv/cdc/RegionCDCClient.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/main/java/org/tikv/cdc/RegionCDCClient.java similarity index 100% rename from flink-connector-tidb-cdc/src/main/java/org/tikv/cdc/RegionCDCClient.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/main/java/org/tikv/cdc/RegionCDCClient.java diff --git a/flink-connector-tidb-cdc/src/main/java/org/tikv/common/operation/iterator/ScanIterator.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/main/java/org/tikv/common/operation/iterator/ScanIterator.java similarity index 100% rename from flink-connector-tidb-cdc/src/main/java/org/tikv/common/operation/iterator/ScanIterator.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/main/java/org/tikv/common/operation/iterator/ScanIterator.java diff --git a/flink-connector-tidb-cdc/src/main/java/org/tikv/common/util/ChannelFactory.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/main/java/org/tikv/common/util/ChannelFactory.java similarity index 100% rename from flink-connector-tidb-cdc/src/main/java/org/tikv/common/util/ChannelFactory.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/main/java/org/tikv/common/util/ChannelFactory.java diff --git a/flink-connector-tidb-cdc/src/main/resources/META-INF/services/org.apache.flink.table.factories.Factory b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/main/resources/META-INF/services/org.apache.flink.table.factories.Factory similarity index 100% rename from flink-connector-tidb-cdc/src/main/resources/META-INF/services/org.apache.flink.table.factories.Factory rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/main/resources/META-INF/services/org.apache.flink.table.factories.Factory diff --git a/flink-connector-tidb-cdc/src/test/java/com/ververica/cdc/connectors/tidb/TiDBTestBase.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/test/java/com/ververica/cdc/connectors/tidb/TiDBTestBase.java similarity index 100% rename from flink-connector-tidb-cdc/src/test/java/com/ververica/cdc/connectors/tidb/TiDBTestBase.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/test/java/com/ververica/cdc/connectors/tidb/TiDBTestBase.java diff --git a/flink-connector-tidb-cdc/src/test/java/com/ververica/cdc/connectors/tidb/table/TiDBConnectorITCase.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/test/java/com/ververica/cdc/connectors/tidb/table/TiDBConnectorITCase.java similarity index 100% rename from flink-connector-tidb-cdc/src/test/java/com/ververica/cdc/connectors/tidb/table/TiDBConnectorITCase.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/test/java/com/ververica/cdc/connectors/tidb/table/TiDBConnectorITCase.java diff --git a/flink-connector-tidb-cdc/src/test/java/com/ververica/cdc/connectors/tidb/table/TiDBConnectorRegionITCase.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/test/java/com/ververica/cdc/connectors/tidb/table/TiDBConnectorRegionITCase.java similarity index 100% rename from flink-connector-tidb-cdc/src/test/java/com/ververica/cdc/connectors/tidb/table/TiDBConnectorRegionITCase.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/test/java/com/ververica/cdc/connectors/tidb/table/TiDBConnectorRegionITCase.java diff --git a/flink-connector-tidb-cdc/src/test/java/com/ververica/cdc/connectors/tidb/table/TiDBTableSourceFactoryTest.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/test/java/com/ververica/cdc/connectors/tidb/table/TiDBTableSourceFactoryTest.java similarity index 100% rename from flink-connector-tidb-cdc/src/test/java/com/ververica/cdc/connectors/tidb/table/TiDBTableSourceFactoryTest.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/test/java/com/ververica/cdc/connectors/tidb/table/TiDBTableSourceFactoryTest.java diff --git a/flink-cdc-e2e-tests/src/test/resources/docker/tidb/pd.toml b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/test/resources/config/pd.toml similarity index 100% rename from flink-cdc-e2e-tests/src/test/resources/docker/tidb/pd.toml rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/test/resources/config/pd.toml diff --git a/flink-cdc-e2e-tests/src/test/resources/docker/tidb/tidb.toml b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/test/resources/config/tidb.toml similarity index 100% rename from flink-cdc-e2e-tests/src/test/resources/docker/tidb/tidb.toml rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/test/resources/config/tidb.toml diff --git a/flink-cdc-e2e-tests/src/test/resources/docker/tidb/tikv.toml b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/test/resources/config/tikv.toml similarity index 100% rename from flink-cdc-e2e-tests/src/test/resources/docker/tidb/tikv.toml rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/test/resources/config/tikv.toml diff --git a/flink-connector-tidb-cdc/src/test/resources/ddl/column_type_test.sql b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/test/resources/ddl/column_type_test.sql similarity index 100% rename from flink-connector-tidb-cdc/src/test/resources/ddl/column_type_test.sql rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/test/resources/ddl/column_type_test.sql diff --git a/flink-connector-tidb-cdc/src/test/resources/ddl/inventory.sql b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/test/resources/ddl/inventory.sql similarity index 100% rename from flink-connector-tidb-cdc/src/test/resources/ddl/inventory.sql rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/test/resources/ddl/inventory.sql diff --git a/flink-connector-tidb-cdc/src/test/resources/ddl/region_switch_test.sql b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/test/resources/ddl/region_switch_test.sql similarity index 100% rename from flink-connector-tidb-cdc/src/test/resources/ddl/region_switch_test.sql rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/test/resources/ddl/region_switch_test.sql diff --git a/flink-connector-sqlserver-cdc/src/test/resources/log4j2-test.properties b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/test/resources/log4j2-test.properties similarity index 100% rename from flink-connector-sqlserver-cdc/src/test/resources/log4j2-test.properties rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/test/resources/log4j2-test.properties diff --git a/flink-connector-vitess-cdc/pom.xml b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-vitess-cdc/pom.xml similarity index 98% rename from flink-connector-vitess-cdc/pom.xml rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-vitess-cdc/pom.xml index b63561540..305df539c 100644 --- a/flink-connector-vitess-cdc/pom.xml +++ b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-vitess-cdc/pom.xml @@ -17,9 +17,9 @@ under the License. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - flink-cdc-connectors + flink-cdc-source-connectors com.ververica - 2.5-SNAPSHOT + 3.0-SNAPSHOT 4.0.0 diff --git a/flink-connector-vitess-cdc/src/main/java/com/ververica/cdc/connectors/vitess/VitessSource.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-vitess-cdc/src/main/java/com/ververica/cdc/connectors/vitess/VitessSource.java similarity index 100% rename from flink-connector-vitess-cdc/src/main/java/com/ververica/cdc/connectors/vitess/VitessSource.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-vitess-cdc/src/main/java/com/ververica/cdc/connectors/vitess/VitessSource.java diff --git a/flink-connector-vitess-cdc/src/main/java/com/ververica/cdc/connectors/vitess/VitessValidator.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-vitess-cdc/src/main/java/com/ververica/cdc/connectors/vitess/VitessValidator.java similarity index 100% rename from flink-connector-vitess-cdc/src/main/java/com/ververica/cdc/connectors/vitess/VitessValidator.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-vitess-cdc/src/main/java/com/ververica/cdc/connectors/vitess/VitessValidator.java diff --git a/flink-connector-vitess-cdc/src/main/java/com/ververica/cdc/connectors/vitess/config/SchemaAdjustmentMode.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-vitess-cdc/src/main/java/com/ververica/cdc/connectors/vitess/config/SchemaAdjustmentMode.java similarity index 100% rename from flink-connector-vitess-cdc/src/main/java/com/ververica/cdc/connectors/vitess/config/SchemaAdjustmentMode.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-vitess-cdc/src/main/java/com/ververica/cdc/connectors/vitess/config/SchemaAdjustmentMode.java diff --git a/flink-connector-vitess-cdc/src/main/java/com/ververica/cdc/connectors/vitess/config/TabletType.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-vitess-cdc/src/main/java/com/ververica/cdc/connectors/vitess/config/TabletType.java similarity index 100% rename from flink-connector-vitess-cdc/src/main/java/com/ververica/cdc/connectors/vitess/config/TabletType.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-vitess-cdc/src/main/java/com/ververica/cdc/connectors/vitess/config/TabletType.java diff --git a/flink-connector-vitess-cdc/src/main/java/com/ververica/cdc/connectors/vitess/table/VitessTableFactory.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-vitess-cdc/src/main/java/com/ververica/cdc/connectors/vitess/table/VitessTableFactory.java similarity index 100% rename from flink-connector-vitess-cdc/src/main/java/com/ververica/cdc/connectors/vitess/table/VitessTableFactory.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-vitess-cdc/src/main/java/com/ververica/cdc/connectors/vitess/table/VitessTableFactory.java diff --git a/flink-connector-vitess-cdc/src/main/java/com/ververica/cdc/connectors/vitess/table/VitessTableSource.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-vitess-cdc/src/main/java/com/ververica/cdc/connectors/vitess/table/VitessTableSource.java similarity index 100% rename from flink-connector-vitess-cdc/src/main/java/com/ververica/cdc/connectors/vitess/table/VitessTableSource.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-vitess-cdc/src/main/java/com/ververica/cdc/connectors/vitess/table/VitessTableSource.java diff --git a/flink-connector-vitess-cdc/src/main/resources/META-INF/services/org.apache.flink.table.factories.Factory b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-vitess-cdc/src/main/resources/META-INF/services/org.apache.flink.table.factories.Factory similarity index 100% rename from flink-connector-vitess-cdc/src/main/resources/META-INF/services/org.apache.flink.table.factories.Factory rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-vitess-cdc/src/main/resources/META-INF/services/org.apache.flink.table.factories.Factory diff --git a/flink-connector-vitess-cdc/src/test/java/com/vervetica/cdc/connectors/vitess/VitessSourceTest.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-vitess-cdc/src/test/java/com/vervetica/cdc/connectors/vitess/VitessSourceTest.java similarity index 100% rename from flink-connector-vitess-cdc/src/test/java/com/vervetica/cdc/connectors/vitess/VitessSourceTest.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-vitess-cdc/src/test/java/com/vervetica/cdc/connectors/vitess/VitessSourceTest.java diff --git a/flink-connector-vitess-cdc/src/test/java/com/vervetica/cdc/connectors/vitess/VitessTestBase.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-vitess-cdc/src/test/java/com/vervetica/cdc/connectors/vitess/VitessTestBase.java similarity index 100% rename from flink-connector-vitess-cdc/src/test/java/com/vervetica/cdc/connectors/vitess/VitessTestBase.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-vitess-cdc/src/test/java/com/vervetica/cdc/connectors/vitess/VitessTestBase.java diff --git a/flink-connector-vitess-cdc/src/test/java/com/vervetica/cdc/connectors/vitess/container/VitessContainer.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-vitess-cdc/src/test/java/com/vervetica/cdc/connectors/vitess/container/VitessContainer.java similarity index 100% rename from flink-connector-vitess-cdc/src/test/java/com/vervetica/cdc/connectors/vitess/container/VitessContainer.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-vitess-cdc/src/test/java/com/vervetica/cdc/connectors/vitess/container/VitessContainer.java diff --git a/flink-connector-vitess-cdc/src/test/java/com/vervetica/cdc/connectors/vitess/table/VitessConnectorITCase.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-vitess-cdc/src/test/java/com/vervetica/cdc/connectors/vitess/table/VitessConnectorITCase.java similarity index 100% rename from flink-connector-vitess-cdc/src/test/java/com/vervetica/cdc/connectors/vitess/table/VitessConnectorITCase.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-vitess-cdc/src/test/java/com/vervetica/cdc/connectors/vitess/table/VitessConnectorITCase.java diff --git a/flink-connector-vitess-cdc/src/test/java/com/vervetica/cdc/connectors/vitess/table/VitessTableFactoryTest.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-vitess-cdc/src/test/java/com/vervetica/cdc/connectors/vitess/table/VitessTableFactoryTest.java similarity index 100% rename from flink-connector-vitess-cdc/src/test/java/com/vervetica/cdc/connectors/vitess/table/VitessTableFactoryTest.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-vitess-cdc/src/test/java/com/vervetica/cdc/connectors/vitess/table/VitessTableFactoryTest.java diff --git a/flink-connector-vitess-cdc/src/test/resources/ddl/column_type_test.sql b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-vitess-cdc/src/test/resources/ddl/column_type_test.sql similarity index 100% rename from flink-connector-vitess-cdc/src/test/resources/ddl/column_type_test.sql rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-vitess-cdc/src/test/resources/ddl/column_type_test.sql diff --git a/flink-connector-vitess-cdc/src/test/resources/ddl/inventory.sql b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-vitess-cdc/src/test/resources/ddl/inventory.sql similarity index 100% rename from flink-connector-vitess-cdc/src/test/resources/ddl/inventory.sql rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-vitess-cdc/src/test/resources/ddl/inventory.sql diff --git a/flink-connector-vitess-cdc/src/test/resources/log4j2-test.properties b/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-vitess-cdc/src/test/resources/log4j2-test.properties similarity index 100% rename from flink-connector-vitess-cdc/src/test/resources/log4j2-test.properties rename to flink-cdc-connect/flink-cdc-source-connectors/flink-connector-vitess-cdc/src/test/resources/log4j2-test.properties diff --git a/flink-sql-connector-db2-cdc/pom.xml b/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-db2-cdc/pom.xml similarity index 97% rename from flink-sql-connector-db2-cdc/pom.xml rename to flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-db2-cdc/pom.xml index 86963a972..4d1ad262c 100644 --- a/flink-sql-connector-db2-cdc/pom.xml +++ b/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-db2-cdc/pom.xml @@ -17,9 +17,9 @@ under the License. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - flink-cdc-connectors + flink-cdc-source-connectors com.ververica - 2.5-SNAPSHOT + 3.0-SNAPSHOT 4.0.0 diff --git a/flink-sql-connector-db2-cdc/src/main/java/com/ververica/cdc/connectors/db2/DummyDocs.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-db2-cdc/src/main/java/com/ververica/cdc/connectors/db2/DummyDocs.java similarity index 100% rename from flink-sql-connector-db2-cdc/src/main/java/com/ververica/cdc/connectors/db2/DummyDocs.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-db2-cdc/src/main/java/com/ververica/cdc/connectors/db2/DummyDocs.java diff --git a/flink-sql-connector-db2-cdc/src/main/resources/META-INF/NOTICE b/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-db2-cdc/src/main/resources/META-INF/NOTICE similarity index 100% rename from flink-sql-connector-db2-cdc/src/main/resources/META-INF/NOTICE rename to flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-db2-cdc/src/main/resources/META-INF/NOTICE diff --git a/flink-sql-connector-mongodb-cdc/pom.xml b/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-mongodb-cdc/pom.xml similarity index 98% rename from flink-sql-connector-mongodb-cdc/pom.xml rename to flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-mongodb-cdc/pom.xml index 804452428..fef2c4e67 100644 --- a/flink-sql-connector-mongodb-cdc/pom.xml +++ b/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-mongodb-cdc/pom.xml @@ -17,9 +17,9 @@ under the License. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - flink-cdc-connectors + flink-cdc-source-connectors com.ververica - 2.5-SNAPSHOT + 3.0-SNAPSHOT 4.0.0 diff --git a/flink-sql-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/DummyDocs.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/DummyDocs.java similarity index 100% rename from flink-sql-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/DummyDocs.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/DummyDocs.java diff --git a/flink-sql-connector-mongodb-cdc/src/main/resources/META-INF/NOTICE b/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-mongodb-cdc/src/main/resources/META-INF/NOTICE similarity index 100% rename from flink-sql-connector-mongodb-cdc/src/main/resources/META-INF/NOTICE rename to flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-mongodb-cdc/src/main/resources/META-INF/NOTICE diff --git a/flink-sql-connector-mysql-cdc/pom.xml b/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-mysql-cdc/pom.xml similarity index 98% rename from flink-sql-connector-mysql-cdc/pom.xml rename to flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-mysql-cdc/pom.xml index b42e806f1..304cf1cff 100644 --- a/flink-sql-connector-mysql-cdc/pom.xml +++ b/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-mysql-cdc/pom.xml @@ -17,9 +17,9 @@ under the License. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - flink-cdc-connectors + flink-cdc-source-connectors com.ververica - 2.5-SNAPSHOT + 3.0-SNAPSHOT 4.0.0 diff --git a/flink-sql-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/DummyDocs.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/DummyDocs.java similarity index 100% rename from flink-sql-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/DummyDocs.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/DummyDocs.java diff --git a/flink-sql-connector-mysql-cdc/src/main/resources/META-INF/NOTICE b/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-mysql-cdc/src/main/resources/META-INF/NOTICE similarity index 100% rename from flink-sql-connector-mysql-cdc/src/main/resources/META-INF/NOTICE rename to flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-mysql-cdc/src/main/resources/META-INF/NOTICE diff --git a/flink-sql-connector-oceanbase-cdc/pom.xml b/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-oceanbase-cdc/pom.xml similarity index 98% rename from flink-sql-connector-oceanbase-cdc/pom.xml rename to flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-oceanbase-cdc/pom.xml index 84f15bea5..cd1ad890b 100644 --- a/flink-sql-connector-oceanbase-cdc/pom.xml +++ b/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-oceanbase-cdc/pom.xml @@ -17,9 +17,9 @@ under the License. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - flink-cdc-connectors + flink-cdc-source-connectors com.ververica - 2.5-SNAPSHOT + 3.0-SNAPSHOT 4.0.0 diff --git a/flink-sql-connector-oceanbase-cdc/src/main/java/com/ververica/cdc/connectors/oceanbase/DummyDocs.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-oceanbase-cdc/src/main/java/com/ververica/cdc/connectors/oceanbase/DummyDocs.java similarity index 100% rename from flink-sql-connector-oceanbase-cdc/src/main/java/com/ververica/cdc/connectors/oceanbase/DummyDocs.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-oceanbase-cdc/src/main/java/com/ververica/cdc/connectors/oceanbase/DummyDocs.java diff --git a/flink-sql-connector-oceanbase-cdc/src/main/resources/META-INF/NOTICE b/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-oceanbase-cdc/src/main/resources/META-INF/NOTICE similarity index 100% rename from flink-sql-connector-oceanbase-cdc/src/main/resources/META-INF/NOTICE rename to flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-oceanbase-cdc/src/main/resources/META-INF/NOTICE diff --git a/flink-sql-connector-oracle-cdc/pom.xml b/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-oracle-cdc/pom.xml similarity index 98% rename from flink-sql-connector-oracle-cdc/pom.xml rename to flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-oracle-cdc/pom.xml index a5fcaf7a5..8fb98a899 100644 --- a/flink-sql-connector-oracle-cdc/pom.xml +++ b/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-oracle-cdc/pom.xml @@ -17,9 +17,9 @@ under the License. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - flink-cdc-connectors + flink-cdc-source-connectors com.ververica - 2.5-SNAPSHOT + 3.0-SNAPSHOT 4.0.0 diff --git a/flink-sql-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/DummyDocs.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/DummyDocs.java similarity index 100% rename from flink-sql-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/DummyDocs.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-oracle-cdc/src/main/java/com/ververica/cdc/connectors/oracle/DummyDocs.java diff --git a/flink-sql-connector-oracle-cdc/src/main/resources/META-INF/NOTICE b/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-oracle-cdc/src/main/resources/META-INF/NOTICE similarity index 100% rename from flink-sql-connector-oracle-cdc/src/main/resources/META-INF/NOTICE rename to flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-oracle-cdc/src/main/resources/META-INF/NOTICE diff --git a/flink-sql-connector-postgres-cdc/pom.xml b/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-postgres-cdc/pom.xml similarity index 98% rename from flink-sql-connector-postgres-cdc/pom.xml rename to flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-postgres-cdc/pom.xml index 8672afe19..4c30cae8d 100644 --- a/flink-sql-connector-postgres-cdc/pom.xml +++ b/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-postgres-cdc/pom.xml @@ -17,9 +17,9 @@ under the License. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - flink-cdc-connectors + flink-cdc-source-connectors com.ververica - 2.5-SNAPSHOT + 3.0-SNAPSHOT 4.0.0 diff --git a/flink-sql-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/DummyDocs.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/DummyDocs.java similarity index 100% rename from flink-sql-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/DummyDocs.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-postgres-cdc/src/main/java/com/ververica/cdc/connectors/postgres/DummyDocs.java diff --git a/flink-sql-connector-postgres-cdc/src/main/resources/META-INF/NOTICE b/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-postgres-cdc/src/main/resources/META-INF/NOTICE similarity index 100% rename from flink-sql-connector-postgres-cdc/src/main/resources/META-INF/NOTICE rename to flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-postgres-cdc/src/main/resources/META-INF/NOTICE diff --git a/flink-sql-connector-sqlserver-cdc/pom.xml b/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-sqlserver-cdc/pom.xml similarity index 98% rename from flink-sql-connector-sqlserver-cdc/pom.xml rename to flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-sqlserver-cdc/pom.xml index 3784e1c00..bdce45cb1 100644 --- a/flink-sql-connector-sqlserver-cdc/pom.xml +++ b/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-sqlserver-cdc/pom.xml @@ -17,9 +17,9 @@ under the License. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - flink-cdc-connectors + flink-cdc-source-connectors com.ververica - 2.5-SNAPSHOT + 3.0-SNAPSHOT 4.0.0 diff --git a/flink-sql-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/DummyDocs.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/DummyDocs.java similarity index 100% rename from flink-sql-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/DummyDocs.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-sqlserver-cdc/src/main/java/com/ververica/cdc/connectors/sqlserver/DummyDocs.java diff --git a/flink-sql-connector-sqlserver-cdc/src/main/resources/META-INF/NOTICE b/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-sqlserver-cdc/src/main/resources/META-INF/NOTICE similarity index 100% rename from flink-sql-connector-sqlserver-cdc/src/main/resources/META-INF/NOTICE rename to flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-sqlserver-cdc/src/main/resources/META-INF/NOTICE diff --git a/flink-sql-connector-tidb-cdc/pom.xml b/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-tidb-cdc/pom.xml similarity index 96% rename from flink-sql-connector-tidb-cdc/pom.xml rename to flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-tidb-cdc/pom.xml index 15a997c63..3302cf5cc 100644 --- a/flink-sql-connector-tidb-cdc/pom.xml +++ b/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-tidb-cdc/pom.xml @@ -17,9 +17,9 @@ under the License. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - flink-cdc-connectors + flink-cdc-source-connectors com.ververica - 2.5-SNAPSHOT + 3.0-SNAPSHOT 4.0.0 diff --git a/flink-sql-connector-tidb-cdc/src/main/java/DummyDocs.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-tidb-cdc/src/main/java/DummyDocs.java similarity index 100% rename from flink-sql-connector-tidb-cdc/src/main/java/DummyDocs.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-tidb-cdc/src/main/java/DummyDocs.java diff --git a/flink-sql-connector-vitess-cdc/pom.xml b/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-vitess-cdc/pom.xml similarity index 97% rename from flink-sql-connector-vitess-cdc/pom.xml rename to flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-vitess-cdc/pom.xml index 744282e8f..5321ae710 100644 --- a/flink-sql-connector-vitess-cdc/pom.xml +++ b/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-vitess-cdc/pom.xml @@ -17,9 +17,9 @@ under the License. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - flink-cdc-connectors + flink-cdc-source-connectors com.ververica - 2.5-SNAPSHOT + 3.0-SNAPSHOT 4.0.0 diff --git a/flink-sql-connector-vitess-cdc/src/main/java/com/ververica/cdc/connectors/vitess/DummyDocs.java b/flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-vitess-cdc/src/main/java/com/ververica/cdc/connectors/vitess/DummyDocs.java similarity index 100% rename from flink-sql-connector-vitess-cdc/src/main/java/com/ververica/cdc/connectors/vitess/DummyDocs.java rename to flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-vitess-cdc/src/main/java/com/ververica/cdc/connectors/vitess/DummyDocs.java diff --git a/flink-cdc-connect/flink-cdc-source-connectors/pom.xml b/flink-cdc-connect/flink-cdc-source-connectors/pom.xml new file mode 100644 index 000000000..7c3386ce9 --- /dev/null +++ b/flink-cdc-connect/flink-cdc-source-connectors/pom.xml @@ -0,0 +1,53 @@ + + + + + flink-cdc-connect + com.ververica + 3.0-SNAPSHOT + + 4.0.0 + + flink-cdc-source-connectors + pom + + + flink-cdc-base + flink-connector-db2-cdc + flink-connector-debezium + flink-connector-mongodb-cdc + flink-connector-mysql-cdc + flink-connector-oceanbase-cdc + flink-connector-oracle-cdc + flink-connector-postgres-cdc + flink-connector-sqlserver-cdc + flink-connector-test-util + flink-connector-tidb-cdc + flink-connector-vitess-cdc + flink-sql-connector-db2-cdc + flink-sql-connector-mongodb-cdc + flink-sql-connector-mysql-cdc + flink-sql-connector-oceanbase-cdc + flink-sql-connector-oracle-cdc + flink-sql-connector-postgres-cdc + flink-sql-connector-sqlserver-cdc + flink-sql-connector-tidb-cdc + flink-sql-connector-vitess-cdc + + + \ No newline at end of file diff --git a/flink-cdc-connect/pom.xml b/flink-cdc-connect/pom.xml new file mode 100644 index 000000000..6b39006fe --- /dev/null +++ b/flink-cdc-connect/pom.xml @@ -0,0 +1,34 @@ + + + + + flink-cdc-connectors + com.ververica + 3.0-SNAPSHOT + + 4.0.0 + + flink-cdc-connect + pom + + + flink-cdc-source-connectors + flink-cdc-pipeline-connectors + + + \ No newline at end of file diff --git a/flink-cdc-dist/pom.xml b/flink-cdc-dist/pom.xml new file mode 100644 index 000000000..7b837c65f --- /dev/null +++ b/flink-cdc-dist/pom.xml @@ -0,0 +1,65 @@ + + + + + flink-cdc-connectors + com.ververica + 3.0-SNAPSHOT + + 4.0.0 + + flink-cdc-dist + jar + + + true + + + + + + flink-cdc-cli + com.ververica + ${project.version} + ${markBundledAsOptional} + + + + flink-cdc-common + com.ververica + ${project.version} + ${markBundledAsOptional} + + + + flink-cdc-composer + com.ververica + ${project.version} + ${markBundledAsOptional} + + + + flink-cdc-runtime + com.ververica + ${project.version} + ${markBundledAsOptional} + + + + + \ No newline at end of file diff --git a/flink-cdc-e2e-tests/flink-cdc-pipeline-e2e-tests/pom.xml b/flink-cdc-e2e-tests/flink-cdc-pipeline-e2e-tests/pom.xml new file mode 100644 index 000000000..be2f7c6da --- /dev/null +++ b/flink-cdc-e2e-tests/flink-cdc-pipeline-e2e-tests/pom.xml @@ -0,0 +1,28 @@ + + + + + flink-cdc-e2e-tests + com.ververica + 3.0-SNAPSHOT + + 4.0.0 + + flink-cdc-pipeline-e2e-tests + + \ No newline at end of file diff --git a/flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/pom.xml b/flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/pom.xml new file mode 100644 index 000000000..cf6d08eb5 --- /dev/null +++ b/flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/pom.xml @@ -0,0 +1,361 @@ + + + + + flink-cdc-e2e-tests + com.ververica + 3.0-SNAPSHOT + + 4.0.0 + + flink-cdc-source-e2e-tests + + + 1.14.4 + 1.15.2 + 1.16.0 + 1.17.0 + 3.1.0-1.17 + 8.0.27 + 42.5.1 + + + + + + mysql + mysql-connector-java + + + com.google.protobuf + protobuf-java + + + ${mysql.driver.version} + test + + + org.postgresql + postgresql + ${postgresql.driver.version} + test + + + com.ibm.db2.jcc + db2jcc + db2jcc4 + test + + + + + com.ververica + flink-connector-mysql-cdc + ${project.version} + test-jar + test + + + com.ververica + flink-connector-mongodb-cdc + ${project.version} + test-jar + test + + + com.ververica + flink-connector-oracle-cdc + ${project.version} + test-jar + test + + + com.ververica + flink-connector-sqlserver-cdc + ${project.version} + test-jar + test + + + com.ververica + flink-connector-tidb-cdc + ${project.version} + test-jar + test + + + com.ververica + flink-connector-db2-cdc + ${project.version} + test-jar + test + + + com.ververica + flink-connector-vitess-cdc + ${project.version} + test-jar + test + + + com.ververica + flink-connector-test-util + ${project.version} + test + + + + + org.testcontainers + mysql + ${testcontainers.version} + test + + + org.testcontainers + postgresql + ${testcontainers.version} + test + + + org.testcontainers + oracle-xe + ${testcontainers.version} + test + + + org.testcontainers + mssqlserver + ${testcontainers.version} + test + + + org.testcontainers + db2 + ${testcontainers.version} + test + + + org.testcontainers + mongodb + 1.18.3 + test + + + + + + + org.apache.maven.plugins + maven-deploy-plugin + + true + + + + + org.apache.maven.plugins + maven-surefire-plugin + + + default-test + none + + + integration-tests + none + + + end-to-end-tests + integration-test + + test + + + + **/*.* + + 1 + + ${project.basedir} + + + + + + + + org.apache.maven.plugins + maven-dependency-plugin + + + copy-jars + process-resources + + copy + + + + + + + mysql + mysql-connector-java + ${mysql.driver.version} + mysql-driver.jar + jar + ${project.build.directory}/dependencies + + + + + org.postgresql + postgresql + ${postgresql.driver.version} + postgresql-driver.jar + jar + ${project.build.directory}/dependencies + + + + + org.apache.flink + flink-connector-jdbc_2.11 + ${flink-1.14} + jdbc-connector_${flink-1.14}.jar + jar + ${project.build.directory}/dependencies + + + + + org.apache.flink + flink-connector-jdbc + ${flink-1.15} + jdbc-connector_${flink-1.15}.jar + jar + ${project.build.directory}/dependencies + + + + + org.apache.flink + flink-connector-jdbc + ${flink-1.16} + jdbc-connector_${flink-1.16}.jar + jar + ${project.build.directory}/dependencies + + + + + org.apache.flink + flink-connector-jdbc + ${jdbc.version-1.17} + jdbc-connector_${flink-1.17}.jar + jar + ${project.build.directory}/dependencies + + + + + com.ververica + flink-sql-connector-mysql-cdc + ${project.version} + mysql-cdc-connector.jar + jar + ${project.build.directory}/dependencies + + + + + com.ververica + flink-sql-connector-postgres-cdc + ${project.version} + postgres-cdc-connector.jar + jar + ${project.build.directory}/dependencies + + + + + com.ververica + flink-sql-connector-mongodb-cdc + ${project.version} + mongodb-cdc-connector.jar + jar + ${project.build.directory}/dependencies + + + + + com.ververica + flink-sql-connector-oracle-cdc + ${project.version} + oracle-cdc-connector.jar + jar + ${project.build.directory}/dependencies + + + + + com.ververica + flink-sql-connector-sqlserver-cdc + ${project.version} + sqlserver-cdc-connector.jar + jar + ${project.build.directory}/dependencies + + + + + com.ververica + flink-sql-connector-tidb-cdc + ${project.version} + tidb-cdc-connector.jar + jar + ${project.build.directory}/dependencies + + + + + com.ververica + flink-sql-connector-db2-cdc + ${project.version} + db2-cdc-connector.jar + jar + ${project.build.directory}/dependencies + + + + + com.ververica + flink-sql-connector-vitess-cdc + ${project.version} + vitess-cdc-connector.jar + jar + ${project.build.directory}/dependencies + + + + + + + + + \ No newline at end of file diff --git a/flink-cdc-e2e-tests/src/test/java/com/ververica/cdc/connectors/tests/Db2E2eITCase.java b/flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/java/com/ververica/cdc/connectors/tests/Db2E2eITCase.java similarity index 100% rename from flink-cdc-e2e-tests/src/test/java/com/ververica/cdc/connectors/tests/Db2E2eITCase.java rename to flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/java/com/ververica/cdc/connectors/tests/Db2E2eITCase.java diff --git a/flink-cdc-e2e-tests/src/test/java/com/ververica/cdc/connectors/tests/MongoE2eITCase.java b/flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/java/com/ververica/cdc/connectors/tests/MongoE2eITCase.java similarity index 100% rename from flink-cdc-e2e-tests/src/test/java/com/ververica/cdc/connectors/tests/MongoE2eITCase.java rename to flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/java/com/ververica/cdc/connectors/tests/MongoE2eITCase.java diff --git a/flink-cdc-e2e-tests/src/test/java/com/ververica/cdc/connectors/tests/MySqlE2eITCase.java b/flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/java/com/ververica/cdc/connectors/tests/MySqlE2eITCase.java similarity index 100% rename from flink-cdc-e2e-tests/src/test/java/com/ververica/cdc/connectors/tests/MySqlE2eITCase.java rename to flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/java/com/ververica/cdc/connectors/tests/MySqlE2eITCase.java diff --git a/flink-cdc-e2e-tests/src/test/java/com/ververica/cdc/connectors/tests/OracleE2eITCase.java b/flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/java/com/ververica/cdc/connectors/tests/OracleE2eITCase.java similarity index 100% rename from flink-cdc-e2e-tests/src/test/java/com/ververica/cdc/connectors/tests/OracleE2eITCase.java rename to flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/java/com/ververica/cdc/connectors/tests/OracleE2eITCase.java diff --git a/flink-cdc-e2e-tests/src/test/java/com/ververica/cdc/connectors/tests/PostgresE2eITCase.java b/flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/java/com/ververica/cdc/connectors/tests/PostgresE2eITCase.java similarity index 100% rename from flink-cdc-e2e-tests/src/test/java/com/ververica/cdc/connectors/tests/PostgresE2eITCase.java rename to flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/java/com/ververica/cdc/connectors/tests/PostgresE2eITCase.java diff --git a/flink-cdc-e2e-tests/src/test/java/com/ververica/cdc/connectors/tests/SqlServerE2eITCase.java b/flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/java/com/ververica/cdc/connectors/tests/SqlServerE2eITCase.java similarity index 100% rename from flink-cdc-e2e-tests/src/test/java/com/ververica/cdc/connectors/tests/SqlServerE2eITCase.java rename to flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/java/com/ververica/cdc/connectors/tests/SqlServerE2eITCase.java diff --git a/flink-cdc-e2e-tests/src/test/java/com/ververica/cdc/connectors/tests/TiDBE2eITCase.java b/flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/java/com/ververica/cdc/connectors/tests/TiDBE2eITCase.java similarity index 100% rename from flink-cdc-e2e-tests/src/test/java/com/ververica/cdc/connectors/tests/TiDBE2eITCase.java rename to flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/java/com/ververica/cdc/connectors/tests/TiDBE2eITCase.java diff --git a/flink-cdc-e2e-tests/src/test/java/com/ververica/cdc/connectors/tests/VitessE2eITCase.java b/flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/java/com/ververica/cdc/connectors/tests/VitessE2eITCase.java similarity index 100% rename from flink-cdc-e2e-tests/src/test/java/com/ververica/cdc/connectors/tests/VitessE2eITCase.java rename to flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/java/com/ververica/cdc/connectors/tests/VitessE2eITCase.java diff --git a/flink-cdc-e2e-tests/src/test/java/com/ververica/cdc/connectors/tests/utils/FlinkContainerTestEnvironment.java b/flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/java/com/ververica/cdc/connectors/tests/utils/FlinkContainerTestEnvironment.java similarity index 100% rename from flink-cdc-e2e-tests/src/test/java/com/ververica/cdc/connectors/tests/utils/FlinkContainerTestEnvironment.java rename to flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/java/com/ververica/cdc/connectors/tests/utils/FlinkContainerTestEnvironment.java diff --git a/flink-cdc-e2e-tests/src/test/java/com/ververica/cdc/connectors/tests/utils/JdbcProxy.java b/flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/java/com/ververica/cdc/connectors/tests/utils/JdbcProxy.java similarity index 100% rename from flink-cdc-e2e-tests/src/test/java/com/ververica/cdc/connectors/tests/utils/JdbcProxy.java rename to flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/java/com/ververica/cdc/connectors/tests/utils/JdbcProxy.java diff --git a/flink-cdc-e2e-tests/src/test/java/com/ververica/cdc/connectors/tests/utils/ParameterProperty.java b/flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/java/com/ververica/cdc/connectors/tests/utils/ParameterProperty.java similarity index 100% rename from flink-cdc-e2e-tests/src/test/java/com/ververica/cdc/connectors/tests/utils/ParameterProperty.java rename to flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/java/com/ververica/cdc/connectors/tests/utils/ParameterProperty.java diff --git a/flink-cdc-e2e-tests/src/test/java/com/ververica/cdc/connectors/tests/utils/SQLJobSubmission.java b/flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/java/com/ververica/cdc/connectors/tests/utils/SQLJobSubmission.java similarity index 100% rename from flink-cdc-e2e-tests/src/test/java/com/ververica/cdc/connectors/tests/utils/SQLJobSubmission.java rename to flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/java/com/ververica/cdc/connectors/tests/utils/SQLJobSubmission.java diff --git a/flink-cdc-e2e-tests/src/test/java/com/ververica/cdc/connectors/tests/utils/TestUtils.java b/flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/java/com/ververica/cdc/connectors/tests/utils/TestUtils.java similarity index 100% rename from flink-cdc-e2e-tests/src/test/java/com/ververica/cdc/connectors/tests/utils/TestUtils.java rename to flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/java/com/ververica/cdc/connectors/tests/utils/TestUtils.java diff --git a/flink-connector-sqlserver-cdc/src/test/resources/container-license-acceptance.txt b/flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/resources/container-license-acceptance.txt similarity index 100% rename from flink-connector-sqlserver-cdc/src/test/resources/container-license-acceptance.txt rename to flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/resources/container-license-acceptance.txt diff --git a/flink-cdc-e2e-tests/src/test/resources/ddl/mongo_inventory.js b/flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/resources/ddl/mongo_inventory.js similarity index 100% rename from flink-cdc-e2e-tests/src/test/resources/ddl/mongo_inventory.js rename to flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/resources/ddl/mongo_inventory.js diff --git a/flink-cdc-e2e-tests/src/test/resources/ddl/mysql_inventory.sql b/flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/resources/ddl/mysql_inventory.sql similarity index 100% rename from flink-cdc-e2e-tests/src/test/resources/ddl/mysql_inventory.sql rename to flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/resources/ddl/mysql_inventory.sql diff --git a/flink-cdc-e2e-tests/src/test/resources/ddl/postgres_inventory.sql b/flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/resources/ddl/postgres_inventory.sql similarity index 100% rename from flink-cdc-e2e-tests/src/test/resources/ddl/postgres_inventory.sql rename to flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/resources/ddl/postgres_inventory.sql diff --git a/flink-cdc-e2e-tests/src/test/resources/ddl/sqlserver_inventory.sql b/flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/resources/ddl/sqlserver_inventory.sql similarity index 100% rename from flink-cdc-e2e-tests/src/test/resources/ddl/sqlserver_inventory.sql rename to flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/resources/ddl/sqlserver_inventory.sql diff --git a/flink-cdc-e2e-tests/src/test/resources/ddl/tidb_inventory.sql b/flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/resources/ddl/tidb_inventory.sql similarity index 100% rename from flink-cdc-e2e-tests/src/test/resources/ddl/tidb_inventory.sql rename to flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/resources/ddl/tidb_inventory.sql diff --git a/flink-cdc-e2e-tests/src/test/resources/ddl/vitess_inventory.sql b/flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/resources/ddl/vitess_inventory.sql similarity index 100% rename from flink-cdc-e2e-tests/src/test/resources/ddl/vitess_inventory.sql rename to flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/resources/ddl/vitess_inventory.sql diff --git a/flink-connector-db2-cdc/src/test/resources/db2_server/Dockerfile b/flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/resources/docker/db2/Dockerfile similarity index 100% rename from flink-connector-db2-cdc/src/test/resources/db2_server/Dockerfile rename to flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/resources/docker/db2/Dockerfile diff --git a/flink-connector-db2-cdc/src/test/resources/db2_server/asncdc.c b/flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/resources/docker/db2/asncdc.c similarity index 100% rename from flink-connector-db2-cdc/src/test/resources/db2_server/asncdc.c rename to flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/resources/docker/db2/asncdc.c diff --git a/flink-connector-db2-cdc/src/test/resources/db2_server/asncdc_UDF.sql b/flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/resources/docker/db2/asncdc_UDF.sql similarity index 100% rename from flink-connector-db2-cdc/src/test/resources/db2_server/asncdc_UDF.sql rename to flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/resources/docker/db2/asncdc_UDF.sql diff --git a/flink-connector-db2-cdc/src/test/resources/db2_server/asncdcaddremove.sql b/flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/resources/docker/db2/asncdcaddremove.sql similarity index 100% rename from flink-connector-db2-cdc/src/test/resources/db2_server/asncdcaddremove.sql rename to flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/resources/docker/db2/asncdcaddremove.sql diff --git a/flink-connector-db2-cdc/src/test/resources/db2_server/asncdctables.sql b/flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/resources/docker/db2/asncdctables.sql similarity index 100% rename from flink-connector-db2-cdc/src/test/resources/db2_server/asncdctables.sql rename to flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/resources/docker/db2/asncdctables.sql diff --git a/flink-connector-db2-cdc/src/test/resources/db2_server/cdcsetup.sh b/flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/resources/docker/db2/cdcsetup.sh similarity index 100% rename from flink-connector-db2-cdc/src/test/resources/db2_server/cdcsetup.sh rename to flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/resources/docker/db2/cdcsetup.sh diff --git a/flink-cdc-e2e-tests/src/test/resources/docker/db2/column_type_test.sql b/flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/resources/docker/db2/column_type_test.sql similarity index 100% rename from flink-cdc-e2e-tests/src/test/resources/docker/db2/column_type_test.sql rename to flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/resources/docker/db2/column_type_test.sql diff --git a/flink-cdc-e2e-tests/src/test/resources/docker/db2/dbsetup.sh b/flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/resources/docker/db2/dbsetup.sh similarity index 100% rename from flink-cdc-e2e-tests/src/test/resources/docker/db2/dbsetup.sh rename to flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/resources/docker/db2/dbsetup.sh diff --git a/flink-connector-db2-cdc/src/test/resources/db2_server/inventory.sql b/flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/resources/docker/db2/inventory.sql similarity index 100% rename from flink-connector-db2-cdc/src/test/resources/db2_server/inventory.sql rename to flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/resources/docker/db2/inventory.sql diff --git a/flink-connector-db2-cdc/src/test/resources/db2_server/startup-agent.sql b/flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/resources/docker/db2/startup-agent.sql similarity index 100% rename from flink-connector-db2-cdc/src/test/resources/db2_server/startup-agent.sql rename to flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/resources/docker/db2/startup-agent.sql diff --git a/flink-connector-db2-cdc/src/test/resources/db2_server/startup-cdc-demo.sql b/flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/resources/docker/db2/startup-cdc-demo.sql similarity index 100% rename from flink-connector-db2-cdc/src/test/resources/db2_server/startup-cdc-demo.sql rename to flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/resources/docker/db2/startup-cdc-demo.sql diff --git a/flink-cdc-e2e-tests/src/test/resources/docker/mongodb/random.key b/flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/resources/docker/mongodb/random.key similarity index 100% rename from flink-cdc-e2e-tests/src/test/resources/docker/mongodb/random.key rename to flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/resources/docker/mongodb/random.key diff --git a/flink-cdc-e2e-tests/src/test/resources/docker/mongodb/setup.js b/flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/resources/docker/mongodb/setup.js similarity index 100% rename from flink-cdc-e2e-tests/src/test/resources/docker/mongodb/setup.js rename to flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/resources/docker/mongodb/setup.js diff --git a/flink-cdc-e2e-tests/src/test/resources/docker/mysql/my.cnf b/flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/resources/docker/mysql/my.cnf similarity index 97% rename from flink-cdc-e2e-tests/src/test/resources/docker/mysql/my.cnf rename to flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/resources/docker/mysql/my.cnf index 8f10cc137..11d6c94ee 100644 --- a/flink-cdc-e2e-tests/src/test/resources/docker/mysql/my.cnf +++ b/flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/resources/docker/mysql/my.cnf @@ -35,6 +35,7 @@ skip-name-resolve #datadir=/var/lib/mysql #socket=/var/lib/mysql/mysql.sock #secure-file-priv=/var/lib/mysql-files +secure-file-priv=/var/lib/mysql user=mysql # Disabling symbolic-links is recommended to prevent assorted security risks diff --git a/flink-connector-mysql-cdc/src/test/resources/docker/setup.sql b/flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/resources/docker/mysql/setup.sql similarity index 100% rename from flink-connector-mysql-cdc/src/test/resources/docker/setup.sql rename to flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/resources/docker/mysql/setup.sql diff --git a/flink-connector-tidb-cdc/src/test/resources/config/pd.toml b/flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/resources/docker/tidb/pd.toml similarity index 100% rename from flink-connector-tidb-cdc/src/test/resources/config/pd.toml rename to flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/resources/docker/tidb/pd.toml diff --git a/flink-connector-tidb-cdc/src/test/resources/config/tidb.toml b/flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/resources/docker/tidb/tidb.toml similarity index 100% rename from flink-connector-tidb-cdc/src/test/resources/config/tidb.toml rename to flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/resources/docker/tidb/tidb.toml diff --git a/flink-connector-tidb-cdc/src/test/resources/config/tikv.toml b/flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/resources/docker/tidb/tikv.toml similarity index 100% rename from flink-connector-tidb-cdc/src/test/resources/config/tikv.toml rename to flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/resources/docker/tidb/tikv.toml diff --git a/flink-connector-tidb-cdc/src/test/resources/log4j2-test.properties b/flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/resources/log4j2-test.properties similarity index 100% rename from flink-connector-tidb-cdc/src/test/resources/log4j2-test.properties rename to flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/resources/log4j2-test.properties diff --git a/flink-cdc-e2e-tests/pom.xml b/flink-cdc-e2e-tests/pom.xml index c30c57fc7..a0b9418ff 100644 --- a/flink-cdc-e2e-tests/pom.xml +++ b/flink-cdc-e2e-tests/pom.xml @@ -19,345 +19,17 @@ under the License. flink-cdc-connectors com.ververica - 2.5-SNAPSHOT + 3.0-SNAPSHOT 4.0.0 flink-cdc-e2e-tests flink-cdc-e2e-tests - jar + pom - - 1.14.4 - 1.15.2 - 1.16.0 - 1.17.0 - 3.1.0-1.17 - 8.0.27 - 42.5.1 - - - - - - mysql - mysql-connector-java - - - com.google.protobuf - protobuf-java - - - ${mysql.driver.version} - test - - - org.postgresql - postgresql - ${postgresql.driver.version} - test - - - com.ibm.db2.jcc - db2jcc - db2jcc4 - test - - - - - com.ververica - flink-connector-mysql-cdc - ${project.version} - test-jar - test - - - com.ververica - flink-connector-mongodb-cdc - ${project.version} - test-jar - test - - - com.ververica - flink-connector-oracle-cdc - ${project.version} - test-jar - test - - - com.ververica - flink-connector-sqlserver-cdc - ${project.version} - test-jar - test - - - com.ververica - flink-connector-tidb-cdc - ${project.version} - test-jar - test - - - com.ververica - flink-connector-db2-cdc - ${project.version} - test-jar - test - - - com.ververica - flink-connector-vitess-cdc - ${project.version} - test-jar - test - - - com.ververica - flink-connector-test-util - ${project.version} - test - - - - - org.testcontainers - mysql - ${testcontainers.version} - test - - - org.testcontainers - postgresql - ${testcontainers.version} - test - - - org.testcontainers - oracle-xe - ${testcontainers.version} - test - - - org.testcontainers - mssqlserver - ${testcontainers.version} - test - - - org.testcontainers - db2 - ${testcontainers.version} - test - - - org.testcontainers - mongodb - 1.18.3 - test - - - - - - - org.apache.maven.plugins - maven-deploy-plugin - - true - - - - - org.apache.maven.plugins - maven-surefire-plugin - - - default-test - none - - - integration-tests - none - - - end-to-end-tests - integration-test - - test - - - - **/*.* - - 1 - - ${project.basedir} - - - - - - - - org.apache.maven.plugins - maven-dependency-plugin - - - copy-jars - process-resources - - copy - - - - - - - mysql - mysql-connector-java - ${mysql.driver.version} - mysql-driver.jar - jar - ${project.build.directory}/dependencies - - - - - org.postgresql - postgresql - ${postgresql.driver.version} - postgresql-driver.jar - jar - ${project.build.directory}/dependencies - - - - - org.apache.flink - flink-connector-jdbc_2.11 - ${flink-1.14} - jdbc-connector_${flink-1.14}.jar - jar - ${project.build.directory}/dependencies - - - - - org.apache.flink - flink-connector-jdbc - ${flink-1.15} - jdbc-connector_${flink-1.15}.jar - jar - ${project.build.directory}/dependencies - - - - - org.apache.flink - flink-connector-jdbc - ${flink-1.16} - jdbc-connector_${flink-1.16}.jar - jar - ${project.build.directory}/dependencies - - - - - org.apache.flink - flink-connector-jdbc - ${jdbc.version-1.17} - jdbc-connector_${flink-1.17}.jar - jar - ${project.build.directory}/dependencies - - - - - com.ververica - flink-sql-connector-mysql-cdc - ${project.version} - mysql-cdc-connector.jar - jar - ${project.build.directory}/dependencies - - - - - com.ververica - flink-sql-connector-postgres-cdc - ${project.version} - postgres-cdc-connector.jar - jar - ${project.build.directory}/dependencies - - - - - com.ververica - flink-sql-connector-mongodb-cdc - ${project.version} - mongodb-cdc-connector.jar - jar - ${project.build.directory}/dependencies - - - - - com.ververica - flink-sql-connector-oracle-cdc - ${project.version} - oracle-cdc-connector.jar - jar - ${project.build.directory}/dependencies - - - - - com.ververica - flink-sql-connector-sqlserver-cdc - ${project.version} - sqlserver-cdc-connector.jar - jar - ${project.build.directory}/dependencies - - - - - com.ververica - flink-sql-connector-tidb-cdc - ${project.version} - tidb-cdc-connector.jar - jar - ${project.build.directory}/dependencies - - - - - com.ververica - flink-sql-connector-db2-cdc - ${project.version} - db2-cdc-connector.jar - jar - ${project.build.directory}/dependencies - - - - - com.ververica - flink-sql-connector-vitess-cdc - ${project.version} - vitess-cdc-connector.jar - jar - ${project.build.directory}/dependencies - - - - - - - + + flink-cdc-source-e2e-tests + flink-cdc-pipeline-e2e-tests + \ No newline at end of file diff --git a/flink-cdc-runtime/pom.xml b/flink-cdc-runtime/pom.xml new file mode 100644 index 000000000..f858125b8 --- /dev/null +++ b/flink-cdc-runtime/pom.xml @@ -0,0 +1,28 @@ + + + + + flink-cdc-connectors + com.ververica + 3.0-SNAPSHOT + + 4.0.0 + + flink-cdc-runtime + + \ No newline at end of file diff --git a/pom.xml b/pom.xml index e1c6b9ea0..242c50d95 100644 --- a/pom.xml +++ b/pom.xml @@ -27,31 +27,16 @@ under the License. com.ververica flink-cdc-connectors - 2.5-SNAPSHOT + 3.0-SNAPSHOT pom - flink-cdc-base - flink-connector-db2-cdc - flink-connector-debezium - flink-connector-mongodb-cdc - flink-connector-mysql-cdc - flink-connector-oceanbase-cdc - flink-connector-oracle-cdc - flink-connector-postgres-cdc - flink-connector-sqlserver-cdc - flink-connector-test-util - flink-connector-tidb-cdc - flink-connector-vitess-cdc - flink-sql-connector-db2-cdc - flink-sql-connector-mongodb-cdc - flink-sql-connector-mysql-cdc - flink-sql-connector-oceanbase-cdc - flink-sql-connector-oracle-cdc - flink-sql-connector-postgres-cdc - flink-sql-connector-sqlserver-cdc - flink-sql-connector-tidb-cdc - flink-sql-connector-vitess-cdc + flink-cdc-cli + flink-cdc-common + flink-cdc-composer + flink-cdc-dist + flink-cdc-connect + flink-cdc-runtime flink-cdc-e2e-tests @@ -98,6 +83,7 @@ under the License. 1.1.0 3.12.0 2.7.0 + true @@ -271,8 +257,12 @@ under the License. docs/site/** **/*.txt - flink-connector-mysql-cdc/src/test/resources/file/*.json - flink-connector-db2-cdc/src/test/resources/db2_server/Dockerfile + + flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/test/resources/file/*.json + + + flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc/src/test/resources/db2_server/Dockerfile + diff --git a/tools/ci/stage.sh b/tools/ci/stage.sh index 497b34d21..494de37fe 100755 --- a/tools/ci/stage.sh +++ b/tools/ci/stage.sh @@ -27,43 +27,43 @@ STAGE_E2E="e2e" STAGE_MISC="misc" MODULES_MYSQL="\ -flink-connector-mysql-cdc,\ -flink-sql-connector-mysql-cdc" +flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc,\ +flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-mysql-cdc" MODULES_POSTGRES="\ -flink-connector-postgres-cdc,\ -flink-sql-connector-postgres-cdc" +flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc,\ +flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-postgres-cdc" MODULES_ORACLE="\ -flink-connector-oracle-cdc,\ -flink-sql-connector-oracle-cdc" +flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc,\ +flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-oracle-cdc" MODULES_MONGODB="\ -flink-connector-mongodb-cdc,\ -flink-sql-connector-mongodb-cdc" +flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc,\ +flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-mongodb-cdc" MODULES_SQLSERVER="\ -flink-connector-sqlserver-cdc,\ -flink-sql-connector-sqlserver-cdc" +flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc,\ +flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-sqlserver-cdc" MODULES_TIDB="\ -flink-connector-tidb-cdc,\ -flink-sql-connector-tidb-cdc" +flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc,\ +flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-tidb-cdc" MODULES_OCEANBASE="\ -flink-connector-oceanbase-cdc,\ -flink-sql-connector-oceanbase-cdc" +flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc,\ +flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-oceanbase-cdc" MODULES_DB2="\ -flink-connector-db2-cdc,\ -flink-sql-connector-db2-cdc" +flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc,\ +flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-db2-cdc" MODULES_VITESS="\ -flink-connector-vitess-cdc,\ -flink-sql-connector-vitess-cdc" +flink-cdc-connect/flink-cdc-source-connectors/flink-connector-vitess-cdc,\ +flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-vitess-cdc" MODULES_E2E="\ -flink-cdc-e2e-tests" +flink-cdc-e2e-tests/flink-cdc-source-e2e-tests" function get_compile_modules_for_stage() { local stage=$1