Class LoggingErrorHandler
- java.lang.Object
-
- org.springframework.kafka.listener.LoggingErrorHandler
-
- All Implemented Interfaces:
ErrorHandler
,GenericErrorHandler<org.apache.kafka.clients.consumer.ConsumerRecord<?,?>>
@Deprecated public class LoggingErrorHandler extends java.lang.Object implements ErrorHandler
Deprecated.- use theCommonLoggingErrorHandler
instead.TheErrorHandler
implementation for logging purpose.
-
-
Constructor Summary
Constructors Constructor Description LoggingErrorHandler()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
handle(java.lang.Exception thrownException, org.apache.kafka.clients.consumer.ConsumerRecord<?,?> record)
Deprecated.Handle the exception.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.springframework.kafka.listener.ErrorHandler
handle
-
Methods inherited from interface org.springframework.kafka.listener.GenericErrorHandler
clearThreadState, handle, isAckAfterHandle, setAckAfterHandle
-
-
-
-
Method Detail
-
handle
public void handle(java.lang.Exception thrownException, @Nullable org.apache.kafka.clients.consumer.ConsumerRecord<?,?> record)
Deprecated.Description copied from interface:GenericErrorHandler
Handle the exception.- Specified by:
handle
in interfaceGenericErrorHandler<org.apache.kafka.clients.consumer.ConsumerRecord<?,?>>
- Parameters:
thrownException
- The exception.record
- the data.
-
-