Class TransactionMetadataIT

  • All Implemented Interfaces:
    Testing

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

      • connection

        private io.debezium.connector.sqlserver.SqlServerConnection connection
    • Constructor Detail

      • TransactionMetadataIT

        public TransactionMetadataIT()
    • Method Detail

      • 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)