public class MySqlConnectorJsonIT extends AbstractConnectorTest
AbstractConnectorTest.SourceRecordsTesting.Debug, Testing.Files, Testing.InterruptableFunction, Testing.Network, Testing.Print, Testing.Timer| Modifier and Type | Field and Description |
|---|---|
private Configuration |
config |
private UniqueDatabase |
DATABASE |
private static Path |
DB_HISTORY_PATH |
engine, logger, logTestName, NO_MONITORED_TABLES_WARNING, OFFSET_STORE_PATH, pollTimeoutInMs, skipTestRule| Constructor and Description |
|---|
MySqlConnectorJsonIT() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterEach() |
void |
beforeEach() |
protected void |
check(String json,
String expectedBinlog,
Consumer<String> msg) |
void |
shouldConsumeAllEventsFromDatabaseUsingBinlogAndNoSnapshot() |
void |
shouldConsumeAllEventsFromDatabaseUsingSnapshot() |
assertConfigurationErrors, assertConfigurationErrors, assertConfigurationErrors, assertConnectorIsRunning, assertConnectorNotRunning, assertDelete, assertEngineIsRunning, assertHasNoSourceQuery, assertInsert, assertKey, assertNoConfigurationErrors, assertNoRecordsToConsume, assertOffset, assertOffset, assertSchemaMatchesStruct, assertSchemaMatchesStruct, assertSourceQuery, assertTombstone, assertTombstone, assertUpdate, assertValueField, configValue, consumeAvailableRecords, consumeRecord, consumeRecords, consumeRecords, consumeRecordsByTopic, debug, getMaximumEnqueuedRecordCount, initializeConnectorTestFramework, loggingCompletion, print, readLastCommittedOffset, readLastCommittedOffsets, setConsumeTimeout, start, start, start, start, stopConnector, stopConnector, validate, waitForAvailableRecords, waitForSnapshotToBeCompleted, waitForStreamingRunningclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdebug, once, once, print, print, printError, printError, printError, resetBeforeEachTest, time, timeprivate static final Path DB_HISTORY_PATH
private final UniqueDatabase DATABASE
private Configuration config
public void beforeEach()
public void afterEach()
@FixFor(value="DBZ-126") public void shouldConsumeAllEventsFromDatabaseUsingBinlogAndNoSnapshot() throws SQLException, InterruptedException
SQLExceptionInterruptedExceptionpublic void shouldConsumeAllEventsFromDatabaseUsingSnapshot()
throws SQLException,
InterruptedException
SQLExceptionInterruptedExceptionCopyright © 2019 JBoss by Red Hat. All rights reserved.