Class NotRetryableKafkaException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.sdase.commons.spring.boot.kafka.NotRetryableKafkaException
All Implemented Interfaces:
Serializable

public class NotRetryableKafkaException extends RuntimeException
This exception is considered to be fatal, and retries are skipped for such exceptions. The ConsumerRecordRecoverer is invoked on the first failure, when the bean is provided for context.
See Also:
  • Constructor Details

    • NotRetryableKafkaException

      public NotRetryableKafkaException()
    • NotRetryableKafkaException

      public NotRetryableKafkaException(String message)
    • NotRetryableKafkaException

      public NotRetryableKafkaException(String message, Throwable cause)
    • NotRetryableKafkaException

      public NotRetryableKafkaException(Throwable cause)
    • NotRetryableKafkaException

      public NotRetryableKafkaException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)