Class ErrorHandlerTest

java.lang.Object
io.debezium.pipeline.ErrorHandlerTest

public class ErrorHandlerTest extends Object
  • Constructor Details

    • ErrorHandlerTest

      public ErrorHandlerTest()
  • Method Details

    • noError

      public void noError() throws Exception
      Throws:
      Exception
    • nonRetriableByDefault

      public void nonRetriableByDefault() throws Exception
      Throws:
      Exception
    • isRetriable

      public void isRetriable() throws Exception
      Throws:
      Exception
    • isRetryingWithMaxTimes

      public void isRetryingWithMaxTimes() throws Exception
      Throws:
      Exception
    • isNotRetryingWithMaxRetries

      public void isNotRetryingWithMaxRetries() throws Exception
      Throws:
      Exception
    • customRetriableMatch

      public void customRetriableMatch() throws Exception
      Throws:
      Exception
    • customRetriableNoMatch

      public void customRetriableNoMatch() throws Exception
      Throws:
      Exception
    • customRetriableMatchNested

      public void customRetriableMatchNested() throws Exception
      Throws:
      Exception
    • pollAndAssertRetriable

      private void pollAndAssertRetriable(io.debezium.connector.base.ChangeEventQueue<io.debezium.pipeline.DataChangeEvent> queue) throws Exception
      Throws:
      Exception
    • pollAndAssertNonRetriable

      private void pollAndAssertNonRetriable(io.debezium.connector.base.ChangeEventQueue<io.debezium.pipeline.DataChangeEvent> queue) throws Exception
      Throws:
      Exception
    • poll

      private void poll(io.debezium.connector.base.ChangeEventQueue<io.debezium.pipeline.DataChangeEvent> queue) throws InterruptedException
      Throws:
      InterruptedException
    • initErrorHandler

      private io.debezium.pipeline.ErrorHandler initErrorHandler(io.debezium.config.Configuration config, io.debezium.connector.base.ChangeEventQueue<io.debezium.pipeline.DataChangeEvent> queue, Throwable producerThrowable)
    • replaceErrorHandler

      private io.debezium.pipeline.ErrorHandler replaceErrorHandler(io.debezium.config.Configuration config, io.debezium.connector.base.ChangeEventQueue<io.debezium.pipeline.DataChangeEvent> queue, Throwable producerThrowable, io.debezium.pipeline.ErrorHandler replacedErrorHandler)
    • queue

      private io.debezium.connector.base.ChangeEventQueue<io.debezium.pipeline.DataChangeEvent> queue()