Class SchemaHistoryTopicIT

  • All Implemented Interfaces:
    io.debezium.util.Testing

    public class SchemaHistoryTopicIT
    extends io.debezium.embedded.AbstractConnectorTest
    Integration test for the user-facing history topic of the Debezium Db2 Server connector.

    The tests should verify the CREATE schema events from snapshot and the CREATE and the ALTER schema events from streaming

    Author:
    Jiri Pechanec
    • Nested Class Summary

      • Nested classes/interfaces inherited from class io.debezium.embedded.AbstractConnectorTest

        io.debezium.embedded.AbstractConnectorTest.SourceRecords
      • Nested classes/interfaces inherited from interface io.debezium.util.Testing

        io.debezium.util.Testing.Debug, io.debezium.util.Testing.Files, io.debezium.util.Testing.InterruptableFunction, io.debezium.util.Testing.Network, io.debezium.util.Testing.Print, io.debezium.util.Testing.Timer
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private io.debezium.connector.db2.Db2Connection connection  
      • Fields inherited from class io.debezium.embedded.AbstractConnectorTest

        engine, logger, logTestName, OFFSET_STORE_PATH, pollTimeoutInMs, skipTestRule
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void after()  
      void before()  
      void snapshotSchemaChanges()  
      • Methods inherited from class io.debezium.embedded.AbstractConnectorTest

        assertBeginTransaction, assertConfigurationErrors, assertConfigurationErrors, assertConfigurationErrors, assertConnectorIsRunning, assertConnectorNotRunning, assertDelete, assertEndTransaction, assertEngineIsRunning, assertHasNoSourceQuery, assertInsert, assertKey, assertNoConfigurationErrors, assertNoRecordsToConsume, assertOffset, assertOffset, assertOnlyTransactionRecordsToConsume, assertRecordTransactionMetadata, assertSchemaMatchesStruct, assertSchemaMatchesStruct, assertSourceQuery, assertTombstone, assertTombstone, assertUpdate, assertValueField, configValue, consumeAvailableRecords, consumeDmlRecordsByTopic, consumeDmlRecordsByTopic, consumeDmlRecordsByTopic, consumeRecord, consumeRecords, consumeRecords, consumeRecords, consumeRecordsByTopic, consumeRecordsByTopic, consumeRecordsByTopic, debug, getMaximumEnqueuedRecordCount, getSnapshotMetricsObjectName, getStreamingMetricsObjectName, getStreamingMetricsObjectName, getStreamingNamespace, initializeConnectorTestFramework, isStreamingRunning, isStreamingRunning, isTransactionRecord, loggingCompletion, print, readLastCommittedOffset, readLastCommittedOffsets, setConsumeTimeout, skipAvroValidation, start, start, start, start, start, startAndConsumeTillEnd, stopConnector, stopConnector, validate, waitForAvailableRecords, waitForConnectorShutdown, waitForSnapshotToBeCompleted, waitForStreamingRunning, waitForStreamingRunning, waitTimeForRecords, waitTimeForRecordsAfterNulls
      • Methods inherited from interface io.debezium.util.Testing

        once, once, resetBeforeEachTest, time, time
    • Field Detail

      • connection

        private io.debezium.connector.db2.Db2Connection connection
    • Constructor Detail

      • SchemaHistoryTopicIT

        public SchemaHistoryTopicIT()