Class NotificationsIT

java.lang.Object
io.debezium.embedded.AbstractConnectorTest
io.debezium.pipeline.notification.AbstractNotificationsIT<io.debezium.connector.db2.Db2Connector>
io.debezium.connector.db2.NotificationsIT
All Implemented Interfaces:
io.debezium.util.Testing

public class NotificationsIT extends io.debezium.pipeline.notification.AbstractNotificationsIT<io.debezium.connector.db2.Db2Connector>
  • Nested Class Summary

    Nested classes/interfaces inherited from class io.debezium.pipeline.notification.AbstractNotificationsIT

    io.debezium.pipeline.notification.AbstractNotificationsIT.ClientListener

    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
     

    Fields inherited from class io.debezium.embedded.AbstractConnectorTest

    consumedLines, engine, isEngineRunning, logger, logTestName, OFFSET_STORE_PATH, pollTimeoutInMs, skipTestRule
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
     
    protected io.debezium.config.Configuration.Builder
     
    protected String
     
    protected Class<io.debezium.connector.db2.Db2Connector>
     
    protected String
     
    protected String
     

    Methods inherited from class io.debezium.pipeline.notification.AbstractNotificationsIT

    collections, database, emittingDebeziumNotificationWillGenerateAJmxNotification, notificationCorrectlySentOnItsTopic, notificationCorrectlySentOnJmx, notificationNotSentIfNoChannelIsConfigured, reportErrorWhenSinkChannelIsEnabledAndNoTopicConfigurationProvided, startConnector, task

    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, consumeAvailableRecordsByTopic, consumeDmlRecordsByTopic, consumeDmlRecordsByTopic, consumeDmlRecordsByTopic, consumeRecord, consumeRecords, consumeRecords, consumeRecords, consumeRecordsButSkipUntil, consumeRecordsByTopic, consumeRecordsByTopic, consumeRecordsByTopic, consumeRecordsByTopicUntil, consumeRecordsUntil, debug, getConsumer, getMaximumEnqueuedRecordCount, getSnapshotMetricsObjectName, getSnapshotMetricsObjectName, getSnapshotMetricsObjectName, getStreamingMetricsObjectName, getStreamingMetricsObjectName, getStreamingMetricsObjectName, getStreamingMetricsObjectName, getStreamingNamespace, initializeConnectorTestFramework, isStreamingRunning, isStreamingRunning, isStreamingRunning, isStreamingRunning, isTransactionRecord, loggingCompletion, print, readLastCommittedOffset, readLastCommittedOffsets, setConsumeTimeout, skipAvroValidation, start, start, start, start, start, start, start, startAndConsumeTillEnd, startAndConsumeTillEnd, stopConnector, stopConnector, validate, waitForAvailableRecords, waitForConnectorShutdown, waitForSnapshotToBeCompleted, waitForSnapshotToBeCompleted, waitForSnapshotWithCustomMetricsToBeCompleted, waitForStreamingRunning, waitForStreamingRunning, waitForStreamingRunning, waitForStreamingWithCustomMetricsToStart, waitTimeForRecords, waitTimeForRecordsAfterNulls

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.debezium.util.Testing

    once, once, resetBeforeEachTest, time, time
  • Field Details

    • connection

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

    • NotificationsIT

      public NotificationsIT()
  • Method Details

    • before

      public void before() throws SQLException
      Throws:
      SQLException
    • after

      public void after() throws SQLException
      Throws:
      SQLException
    • connectorClass

      protected Class<io.debezium.connector.db2.Db2Connector> connectorClass()
      Specified by:
      connectorClass in class io.debezium.pipeline.notification.AbstractNotificationsIT<io.debezium.connector.db2.Db2Connector>
    • config

      protected io.debezium.config.Configuration.Builder config()
      Specified by:
      config in class io.debezium.pipeline.notification.AbstractNotificationsIT<io.debezium.connector.db2.Db2Connector>
    • connector

      protected String connector()
      Specified by:
      connector in class io.debezium.pipeline.notification.AbstractNotificationsIT<io.debezium.connector.db2.Db2Connector>
    • server

      protected String server()
      Specified by:
      server in class io.debezium.pipeline.notification.AbstractNotificationsIT<io.debezium.connector.db2.Db2Connector>
    • snapshotStatusResult

      protected String snapshotStatusResult()
      Specified by:
      snapshotStatusResult in class io.debezium.pipeline.notification.AbstractNotificationsIT<io.debezium.connector.db2.Db2Connector>