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
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 Summary
ConstructorsConstructorDescriptionNotRetryableKafkaException
(String message) NotRetryableKafkaException
(String message, Throwable cause) NotRetryableKafkaException
(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NotRetryableKafkaException
public NotRetryableKafkaException() -
NotRetryableKafkaException
-
NotRetryableKafkaException
-
NotRetryableKafkaException
-
NotRetryableKafkaException
-