public class LogAndFailProcessingExceptionHandler extends Object implements ProcessingExceptionHandler
ProcessingExceptionHandler.ProcessingHandlerResponse| Constructor and Description |
|---|
LogAndFailProcessingExceptionHandler() |
| 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 LogAndFailProcessingExceptionHandler()
public ProcessingExceptionHandler.ProcessingHandlerResponse handle(ErrorHandlerContext context, Record<?,?> record, Exception exception)
ProcessingExceptionHandlerhandle in interface ProcessingExceptionHandlercontext - processing context metadatarecord - record where the exception occurredexception - the actual exception