public class MySqlConnectorIT extends AbstractConnectorTest
| Modifier and Type | Class and Description |
|---|---|
protected static class |
MySqlConnectorIT.BinlogPosition |
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 |
private UniqueDatabase |
RO_DATABASE |
engine, logger, OFFSET_STORE_PATH, pollTimeoutInMs, skipTestRule| Constructor and Description |
|---|
MySqlConnectorIT() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterEach() |
void |
beforeEach() |
private List<org.apache.kafka.connect.source.SourceRecord> |
recordsForTopicForRoProductsTable(AbstractConnectorTest.SourceRecords records) |
void |
shouldConsumeAllEventsFromDatabaseUsingSnapshot() |
void |
shouldConsumeEventsWithMaskedAndBlacklistedColumns() |
void |
shouldConsumeEventsWithNoSnapshot() |
void |
shouldEmitNoTombstoneOnDelete() |
void |
shouldEmitTombstoneOnDeleteByDefault() |
void |
shouldFailToValidateInvalidConfiguration() |
void |
shouldNotStartWithInvalidConfiguration()
Verifies that the connector doesn't run with an invalid configuration.
|
void |
shouldUseMultipleOverriddenSelectStatementsDuringSnapshotting() |
void |
shouldUseOverriddenSelectStatementDuringSnapshotting() |
void |
shouldValidateAcceptableConfiguration() |
void |
shouldValidateValidConfigurationWithSSL() |
assertConfigurationErrors, assertConfigurationErrors, assertConfigurationErrors, assertConnectorIsRunning, assertConnectorNotRunning, assertDelete, assertEngineIsRunning, assertInsert, assertKey, assertNoConfigurationErrors, assertNoRecordsToConsume, assertOffset, assertOffset, assertSchemaMatchesStruct, assertSchemaMatchesStruct, 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, waitForAvailableRecordsclone, 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 final UniqueDatabase RO_DATABASE
private Configuration config
public void beforeEach()
public void afterEach()
public void shouldNotStartWithInvalidConfiguration()
public void shouldFailToValidateInvalidConfiguration()
public void shouldValidateValidConfigurationWithSSL()
public void shouldValidateAcceptableConfiguration()
public void shouldConsumeAllEventsFromDatabaseUsingSnapshot()
throws SQLException,
InterruptedException
SQLExceptionInterruptedExceptionpublic void shouldUseOverriddenSelectStatementDuringSnapshotting()
throws SQLException,
InterruptedException
SQLExceptionInterruptedExceptionpublic void shouldUseMultipleOverriddenSelectStatementsDuringSnapshotting()
throws SQLException,
InterruptedException
SQLExceptionInterruptedExceptionpublic void shouldConsumeEventsWithNoSnapshot()
throws SQLException,
InterruptedException
SQLExceptionInterruptedExceptionpublic void shouldConsumeEventsWithMaskedAndBlacklistedColumns()
throws SQLException,
InterruptedException
SQLExceptionInterruptedException@FixFor(value="DBZ-582") public void shouldEmitTombstoneOnDeleteByDefault() throws Exception
Exception@FixFor(value="DBZ-582") public void shouldEmitNoTombstoneOnDelete() throws Exception
Exceptionprivate List<org.apache.kafka.connect.source.SourceRecord> recordsForTopicForRoProductsTable(AbstractConnectorTest.SourceRecords records)
Copyright © 2018 JBoss by Red Hat. All rights reserved.