public interface DeserializationExceptionHandler extends Configurable
| Modifier and Type | Interface and Description |
|---|---|
static class |
DeserializationExceptionHandler.DeserializationHandlerResponse
Enumeration that describes the response from the exception handler.
|
| Modifier and Type | Method and Description |
|---|---|
DeserializationExceptionHandler.DeserializationHandlerResponse |
handle(ProcessorContext context,
ConsumerRecord<byte[],byte[]> record,
Exception exception)
Inspect a record and the exception received.
|
configureDeserializationExceptionHandler.DeserializationHandlerResponse handle(ProcessorContext context, ConsumerRecord<byte[],byte[]> record, Exception exception)
context - processor contextrecord - record that failed deserializationexception - the actual exception