public class OracleConnectorIT
extends io.debezium.embedded.AbstractConnectorTest
| Modifier and Type | Field and Description |
|---|---|
private static io.debezium.connector.oracle.OracleConnection |
connection |
private static long |
MICROS_PER_SECOND |
private static String |
SNAPSHOT_COMPLETED_KEY |
| Constructor and Description |
|---|
OracleConnectorIT() |
| Modifier and Type | Method and Description |
|---|---|
private void |
assertTxBatch(int expectedRecordCount,
int offset) |
void |
before() |
static void |
beforeClass() |
static void |
closeConnection() |
void |
deleteWithoutTombstone() |
private void |
sendTxBatch(int expectedRecordCount,
int offset) |
void |
shouldContinueWithStreamingAfterSnapshot() |
void |
shouldReadChangeStreamForExistingTable() |
void |
shouldReadChangeStreamForTableCreatedWhileStreaming() |
void |
shouldReceiveHeartbeatAlsoWhenChangingNonWhitelistedTable() |
void |
shouldStreamAfterRestart() |
void |
shouldStreamAfterRestartAfterSnapshot() |
void |
shouldStreamTransaction() |
void |
shouldTakeSnapshot() |
private long |
toMicroSecondsSinceEpoch(LocalDateTime localDateTime) |
private void |
verifyHeartbeatRecord(org.apache.kafka.connect.source.SourceRecord heartbeat) |
assertBeginTransaction, assertConfigurationErrors, assertConfigurationErrors, assertConfigurationErrors, assertConnectorIsRunning, assertConnectorNotRunning, assertDelete, assertEndTransaction, assertEngineIsRunning, assertHasNoSourceQuery, assertInsert, assertKey, assertNoConfigurationErrors, assertNoRecordsToConsume, assertOffset, assertOffset, assertRecordTransactionMetadata, assertSchemaMatchesStruct, assertSchemaMatchesStruct, assertSourceQuery, assertTombstone, assertTombstone, assertUpdate, assertValueField, configValue, consumeAvailableRecords, consumeRecord, consumeRecords, consumeRecords, consumeRecords, consumeRecordsByTopic, consumeRecordsByTopic, consumeRecordsByTopic, debug, getMaximumEnqueuedRecordCount, getSnapshotMetricsObjectName, getStreamingMetricsObjectName, getStreamingMetricsObjectName, initializeConnectorTestFramework, loggingCompletion, print, readLastCommittedOffset, readLastCommittedOffsets, setConsumeTimeout, start, start, start, start, stopConnector, stopConnector, validate, waitForAvailableRecords, waitForSnapshotToBeCompleted, waitForStreamingRunning, waitForStreamingRunningprivate static final long MICROS_PER_SECOND
private static final String SNAPSHOT_COMPLETED_KEY
private static io.debezium.connector.oracle.OracleConnection connection
public static void beforeClass()
throws SQLException
SQLExceptionpublic static void closeConnection()
throws SQLException
SQLExceptionpublic void before()
throws SQLException
SQLExceptionpublic void shouldContinueWithStreamingAfterSnapshot()
throws Exception
Exception@FixFor(value="DBZ-1223")
public void shouldStreamTransaction()
throws Exception
Exceptionprivate void sendTxBatch(int expectedRecordCount,
int offset)
throws SQLException,
InterruptedException
SQLExceptionInterruptedExceptionprivate void assertTxBatch(int expectedRecordCount,
int offset)
throws InterruptedException
InterruptedExceptionpublic void shouldStreamAfterRestartAfterSnapshot()
throws Exception
Exceptionpublic void shouldReadChangeStreamForExistingTable()
throws Exception
Exception@FixFor(value="DBZ-835")
public void deleteWithoutTombstone()
throws Exception
Exceptionpublic void shouldReadChangeStreamForTableCreatedWhileStreaming()
throws Exception
Exception@FixFor(value="DBZ-800")
public void shouldReceiveHeartbeatAlsoWhenChangingNonWhitelistedTable()
throws Exception
Exceptionprivate void verifyHeartbeatRecord(org.apache.kafka.connect.source.SourceRecord heartbeat)
private long toMicroSecondsSinceEpoch(LocalDateTime localDateTime)
Copyright © 2020 JBoss by Red Hat. All rights reserved.