Class MySqlTaskContextTest
java.lang.Object
io.debezium.connector.mysql.legacy.MySqlTaskContextTest
- Direct Known Subclasses:
MySqlTaskContextIT
- Author:
- Randall Hauch
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidprotected HistoryRecordhistoryRecord(String serverName, String binlogFilename, int position, String gtids, int event, int row, boolean snapshot) voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidprotected Configuration.Builder
-
Field Details
-
DB_HISTORY_PATH
-
hostname
-
port
protected int port -
username
-
password
-
serverId
protected int serverId -
serverName
-
databaseName
-
config
-
context
protected io.debezium.connector.mysql.legacy.MySqlTaskContext context
-
-
Constructor Details
-
MySqlTaskContextTest
public MySqlTaskContextTest()
-
-
Method Details
-
beforeEach
public void beforeEach() -
afterEach
public void afterEach() -
simpleConfig
-
shouldCreateTaskFromConfigurationWithNeverSnapshotMode
- Throws:
Exception
-
shouldCreateTaskFromConfigurationWithWhenNeededSnapshotMode
- Throws:
Exception
-
shouldFilterInternalDmlStatementsUsingDefaultFilter
- Throws:
Exception
-
shouldUseGtidSetIncludes
- Throws:
Exception
-
shouldUseGtidSetIncludesLiteralUuids
- Throws:
Exception
-
shouldUseGtidSetxcludesLiteralUuids
- Throws:
Exception
-
shouldNotAllowBothGtidSetIncludesAndExcludes
- Throws:
Exception
-
shouldFilterAndMergeGtidSet
- Throws:
Exception
-
shouldMergeToFirstAvailableGtidSetPositions
- Throws:
Exception
-
shouldComparePositionsWithDifferentFields
public void shouldComparePositionsWithDifferentFields() -
shouldIgnoreDatabaseHistoryProperties
- Throws:
Exception
-
historyRecord
protected HistoryRecord historyRecord(String serverName, String binlogFilename, int position, String gtids, int event, int row, boolean snapshot)
-