Class LoggingErrorHandler
java.lang.Object
org.springframework.kafka.listener.LoggingErrorHandler
- All Implemented Interfaces:
ErrorHandler,GenericErrorHandler<org.apache.kafka.clients.consumer.ConsumerRecord<?,?>>
Deprecated.
The
ErrorHandler implementation for logging purpose.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.kafka.listener.ErrorHandler
handleMethods inherited from interface org.springframework.kafka.listener.GenericErrorHandler
clearThreadState, handle, isAckAfterHandle, setAckAfterHandle
-
Constructor Details
-
LoggingErrorHandler
public LoggingErrorHandler()Deprecated.
-
-
Method Details
-
handle
public void handle(Exception thrownException, @Nullable org.apache.kafka.clients.consumer.ConsumerRecord<?, ?> record) Deprecated.Description copied from interface:GenericErrorHandlerHandle the exception.- Specified by:
handlein interfaceGenericErrorHandler<org.apache.kafka.clients.consumer.ConsumerRecord<?,?>> - Parameters:
thrownException- The exception.record- the data.
-
CommonLoggingErrorHandlerinstead.