Class TransactionMetadataIT

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

public class TransactionMetadataIT extends AbstractConnectorTest
Integration test for the Debezium SQL Server connector.
Author:
Jiri Pechanec
  • Field Details

    • connection

      private io.debezium.connector.sqlserver.SqlServerConnection connection
    • skipRule

      public SkipTestRule skipRule
  • 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
    • restartInTheMiddleOfTx

      private void restartInTheMiddleOfTx(boolean restartJustAfterSnapshot, boolean afterStreaming) throws Exception
      Throws:
      Exception
    • restartInTheMiddleOfTxAfterSnapshot

      public void restartInTheMiddleOfTxAfterSnapshot() throws Exception
      Throws:
      Exception
    • restartInTheMiddleOfTxAfterCompletedTx

      public void restartInTheMiddleOfTxAfterCompletedTx() throws Exception
      Throws:
      Exception
    • restartInTheMiddleOfTx

      public void restartInTheMiddleOfTx() throws Exception
      Throws:
      Exception
    • assertRecord

      private void assertRecord(org.apache.kafka.connect.data.Struct record, List<SchemaAndValueField> expected)