Class SnapshotReaderIT
java.lang.Object
io.debezium.connector.mysql.legacy.SnapshotReaderIT
- Author:
- Randall Hauch
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate CountDownLatchprivate Configurationprivate io.debezium.connector.mysql.legacy.MySqlTaskContextprivate final UniqueDatabaseprivate static final Pathprivate final UniqueDatabaseprivate io.debezium.connector.mysql.legacy.SnapshotReader -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidprivate LinkedHashSet<String>getTableNamesInSpecifiedOrder(String... tables) private Stringvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidprotected Configuration.Builderprivate voidsnapshotOfSingleDatabase(boolean useGlobalLock, boolean storeOnlyCapturedTables) voidprivate longtoMicroSeconds(String duration)
-
Field Details
-
DB_HISTORY_PATH
-
DATABASE
-
OTHER_DATABASE
-
config
-
context
private io.debezium.connector.mysql.legacy.MySqlTaskContext context -
reader
private io.debezium.connector.mysql.legacy.SnapshotReader reader -
completed
-
skipRule
-
getTableNameFromSourceRecord
-
-
Constructor Details
-
SnapshotReaderIT
public SnapshotReaderIT()
-
-
Method Details
-
beforeEach
public void beforeEach() -
afterEach
public void afterEach() -
simpleConfig
-
shouldCreateSnapshotOfSingleDatabase
- Throws:
Exception
-
shouldCreateSnapshotOfSingleDatabaseWithoutGlobalLock
- Throws:
Exception
-
shouldCreateSnapshotOfSingleDatabaseWithoutGlobalLockAndStoreOnlyCapturedTables
public void shouldCreateSnapshotOfSingleDatabaseWithoutGlobalLockAndStoreOnlyCapturedTables() throws Exception- Throws:
Exception
-
snapshotOfSingleDatabase
private void snapshotOfSingleDatabase(boolean useGlobalLock, boolean storeOnlyCapturedTables) throws Exception - Throws:
Exception
-
snapshotWithBackupLocksShouldNotWaitForReads
- Throws:
Exception
-
shouldCreateSnapshotSelectively
- Throws:
Exception
-
productsTableName
-
shouldCreateSnapshotOfSingleDatabaseWithSchemaChanges
- Throws:
Exception
-
shouldCreateSnapshotSchemaOnlyRecovery_exception
- Throws:
Exception
-
shouldCreateSnapshotSchemaOnlyRecovery
- Throws:
Exception
-
shouldSnapshotTablesInOrderSpecifiedInTableIncludeList
- Throws:
Exception
-
shouldSnapshotTablesInOrderSpecifiedInTablesWhitelist
- Throws:
Exception
-
shouldSnapshotTablesInLexicographicalOrder
- Throws:
Exception
-
getTableNamesInSpecifiedOrder
-
shouldCreateSnapshotSchemaOnly
- Throws:
Exception
-
toMicroSeconds
-