public class LogAndContinueProcessingExceptionHandler extends Object implements ProcessingExceptionHandler
ProcessingExceptionHandler.ProcessingHandlerResponse
Constructor and Description |
---|
LogAndContinueProcessingExceptionHandler() |
Modifier and Type | Method and Description |
---|---|
void |
configure(Map<String,?> configs) |
ProcessingExceptionHandler.ProcessingHandlerResponse |
handle(ErrorHandlerContext context,
Record<?,?> record,
Exception exception)
Inspect a record and the exception received
|
public LogAndContinueProcessingExceptionHandler()
public ProcessingExceptionHandler.ProcessingHandlerResponse handle(ErrorHandlerContext context, Record<?,?> record, Exception exception)
ProcessingExceptionHandler
handle
in interface ProcessingExceptionHandler
context
- processing context metadatarecord
- record where the exception occurredexception
- the actual exception