public interface ProcessingExceptionHandler
extends org.apache.kafka.common.Configurable
| Modifier and Type | Interface and Description |
|---|---|
static class |
ProcessingExceptionHandler.ProcessingHandlerResponse |
| Modifier and Type | Method and Description |
|---|---|
ProcessingExceptionHandler.ProcessingHandlerResponse |
handle(ErrorHandlerContext context,
Record<?,?> record,
Exception exception)
Inspect a record and the exception received
|
ProcessingExceptionHandler.ProcessingHandlerResponse handle(ErrorHandlerContext context, Record<?,?> record, Exception exception)
context - processing context metadatarecord - record where the exception occurredexception - the actual exception