Class SpannerErrorHandler

java.lang.Object
io.debezium.pipeline.ErrorHandler
io.debezium.connector.spanner.SpannerErrorHandler

public class SpannerErrorHandler extends io.debezium.pipeline.ErrorHandler
Handles all types during the Connector runtime and propagates them to ChangeEventQueue
  • Field Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
    • producerThrowable

      private final AtomicReference<Throwable> producerThrowable
    • queue

      private final io.debezium.connector.base.ChangeEventQueue<?> queue
    • task

      private final SpannerConnectorTask task
  • Constructor Details

    • SpannerErrorHandler

      public SpannerErrorHandler(SpannerConnectorTask task, io.debezium.connector.base.ChangeEventQueue<?> queue)
  • Method Details

    • isRetriable

      protected boolean isRetriable(Throwable throwable)
      Overrides:
      isRetriable in class io.debezium.pipeline.ErrorHandler
    • setProducerThrowable

      public void setProducerThrowable(Throwable producerThrowable)
      Overrides:
      setProducerThrowable in class io.debezium.pipeline.ErrorHandler
    • getProducerThrowable

      public Throwable getProducerThrowable()
      Overrides:
      getProducerThrowable in class io.debezium.pipeline.ErrorHandler
    • getStackTrace

      public static String getStackTrace(Throwable ex)