Class EmbeddedEngineTest

    • Field Detail

      • 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
    • Constructor Detail

      • EmbeddedEngineTest

        public EmbeddedEngineTest()
    • Method Detail

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

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

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

        protected String generateLine​(int lineNumber)