Class EmbeddedEngineTest

java.lang.Object
io.debezium.embedded.AbstractConnectorTest
io.debezium.embedded.EmbeddedEngineTest
All Implemented Interfaces:
Testing

public class EmbeddedEngineTest extends AbstractConnectorTest
Author:
Randall Hauch
  • Field Details

    • NUMBER_OF_LINES

      private static final int NUMBER_OF_LINES
      See Also:
    • TEST_FILE_PATH

      private static final Path TEST_FILE_PATH
    • UTF8

      private static final Charset UTF8
    • inputFile

      private File inputFile
    • nextConsumedLineNumber

      private int nextConsumedLineNumber
    • linesAdded

      private int linesAdded
    • connectorConfig

      private Configuration connectorConfig
  • Constructor Details

    • EmbeddedEngineTest

      public EmbeddedEngineTest()
  • Method Details

    • beforeEach

      public void beforeEach() throws Exception
      Throws:
      Exception
    • verifyNonAsciiContentHandledCorrectly

      public void verifyNonAsciiContentHandledCorrectly() throws Exception
      Throws:
      Exception
    • interruptedTaskShutsDown

      public void interruptedTaskShutsDown() throws Exception
      Throws:
      Exception
    • interruptedOffsetCommitShutsDown

      public void interruptedOffsetCommitShutsDown() throws Exception
      Throws:
      Exception
    • shouldStartAndUseFileConnectorUsingMemoryOffsetStorage

      public void shouldStartAndUseFileConnectorUsingMemoryOffsetStorage() throws Exception
      Throws:
      Exception
    • shouldWorkToUseCustomChangeConsumer

      @FixFor("DBZ-1080") public void shouldWorkToUseCustomChangeConsumer() throws Exception
      Throws:
      Exception
    • shouldRunDebeziumEngine

      public void shouldRunDebeziumEngine() throws Exception
      Throws:
      Exception
    • shouldRunEngineWithConsumerSettingOffsets

      @FixFor("DBZ-2897") public void shouldRunEngineWithConsumerSettingOffsets() throws Exception
      Throws:
      Exception
    • shouldExecuteSmt

      public void shouldExecuteSmt() throws Exception
      Throws:
      Exception
    • invalidSmt

      public void invalidSmt() throws Exception
      Throws:
      Exception
    • shouldRunDebeziumEngineWithJson

      @FixFor("DBZ-1807") public void shouldRunDebeziumEngineWithJson() throws Exception
      Throws:
      Exception
    • shouldRunDebeziumEngineWithMismatchedTypes

      @FixFor("DBZ-5926") public void shouldRunDebeziumEngineWithMismatchedTypes() throws Exception
      Throws:
      Exception
    • verifyBadCommitPolicyClassName

      @FixFor("DBZ-5583") public void verifyBadCommitPolicyClassName()
    • validationThrowsException

      @FixFor("DBZ-4720") public void validationThrowsException() throws Exception
      Throws:
      Exception
    • shouldHandleNoDefaultOffsetFlushInterval

      @FixFor("DBZ-7099") public void shouldHandleNoDefaultOffsetFlushInterval() throws IOException, InterruptedException
      Throws:
      IOException
      InterruptedException
    • appendLinesToSource

      protected void appendLinesToSource(int numberOfLines) throws IOException
      Throws:
      IOException
    • appendLinesToSource

      protected void appendLinesToSource(String linePrefix, int numberOfLines) throws IOException
      Throws:
      IOException
    • generateLine

      protected String generateLine(int lineNumber)
    • generateLine

      protected String generateLine(String linePrefix, int lineNumber)
    • consumeLines

      protected void consumeLines(int numberOfLines) throws InterruptedException
      Throws:
      InterruptedException