Class ErrorHandler

java.lang.Object
io.debezium.pipeline.ErrorHandler

public class ErrorHandler extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • setProducerThrowable

      public void setProducerThrowable(Throwable producerThrowable)
    • getProducerThrowable

      public Throwable getProducerThrowable()
    • communicationExceptions

      protected Set<Class<? extends Exception>> communicationExceptions()
    • isRetriable

      protected boolean isRetriable(Throwable throwable)
      Whether the given throwable is retriable (e.g. an exception indicating a connection loss) or not. By default only I/O exceptions are retriable
    • isCustomRetriable

      protected boolean isCustomRetriable(Throwable throwable)
      Whether the given non-retriable matches a custom retriable setting.
      Returns:
      true if non-retriable is converted to retriable