Class TransactionMetadataIT

java.lang.Object
io.debezium.embedded.AbstractConnectorTest
io.debezium.connector.informix.TransactionMetadataIT
All Implemented Interfaces:
io.debezium.util.Testing

public class TransactionMetadataIT extends io.debezium.embedded.AbstractConnectorTest
Transaction metadata test for the Debezium Informix Server connector.
  • 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
    org.junit.rules.TestRule
     
    private io.debezium.connector.informix.InformixConnection
     

    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
     
    protected String
    assertBeginTransaction(org.apache.kafka.connect.source.SourceRecord record)
     
    protected void
    assertEndTransaction(org.apache.kafka.connect.source.SourceRecord record, String beginTxId, long expectedEventCount, Map<String,Number> expectedPerTableCount)
     
    protected void
    assertRecordTransactionMetadata(org.apache.kafka.connect.source.SourceRecord record, String beginTxId, long expectedTotalOrder, long expectedCollectionOrder)
     
    void
     
    void
     

    Methods inherited from class io.debezium.embedded.AbstractConnectorTest

    assertConfigurationErrors, assertConfigurationErrors, assertConfigurationErrors, assertConnectorIsRunning, assertConnectorNotRunning, assertDelete, assertEngineIsRunning, assertHasNoSourceQuery, assertInsert, assertKey, assertNoConfigurationErrors, assertNoRecordsToConsume, assertOffset, assertOffset, assertOnlyTransactionRecordsToConsume, assertSchemaMatchesStruct, assertSchemaMatchesStruct, assertSourceQuery, assertTombstone, assertTombstone, assertUpdate, assertValueField, configValue, consumeAvailableRecords, consumeAvailableRecordsByTopic, consumeDmlRecordsByTopic, consumeDmlRecordsByTopic, consumeDmlRecordsByTopic, consumeRecord, consumeRecords, consumeRecords, consumeRecords, consumeRecordsButSkipUntil, consumeRecordsByTopic, consumeRecordsByTopic, consumeRecordsByTopic, consumeRecordsByTopicUntil, consumeRecordsUntil, createEngine, createEngineBuilder, 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, storeOffsets, validate, waitForAvailableRecords, waitForConnectorShutdown, waitForEngineShutdown, waitForSnapshotToBeCompleted, waitForSnapshotToBeCompleted, waitForSnapshotWithCustomMetricsToBeCompleted, waitForStreamingRunning, waitForStreamingRunning, waitForStreamingRunning, waitForStreamingWithCustomMetricsToStart, waitTimeForEngine, 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

    • conditionalFail

      public org.junit.rules.TestRule conditionalFail
    • connection

      private io.debezium.connector.informix.InformixConnection connection
  • Constructor Details

    • TransactionMetadataIT

      public TransactionMetadataIT()
  • Method Details

    • before

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

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

      public void transactionMetadata() throws Exception
      Throws:
      Exception
    • assertBeginTransaction

      protected String assertBeginTransaction(org.apache.kafka.connect.source.SourceRecord record)
      Overrides:
      assertBeginTransaction in class io.debezium.embedded.AbstractConnectorTest
    • assertEndTransaction

      protected void assertEndTransaction(org.apache.kafka.connect.source.SourceRecord record, String beginTxId, long expectedEventCount, Map<String,Number> expectedPerTableCount)
      Overrides:
      assertEndTransaction in class io.debezium.embedded.AbstractConnectorTest
    • assertRecordTransactionMetadata

      protected void assertRecordTransactionMetadata(org.apache.kafka.connect.source.SourceRecord record, String beginTxId, long expectedTotalOrder, long expectedCollectionOrder)
      Overrides:
      assertRecordTransactionMetadata in class io.debezium.embedded.AbstractConnectorTest