Package org.apache.kafka.streams.errors
Interface ProcessingExceptionHandler
- All Superinterfaces:
- Configurable
- All Known Implementing Classes:
- LogAndContinueProcessingExceptionHandler,- LogAndFailProcessingExceptionHandler
An interface that allows user code to inspect a record that has failed processing
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic enum
- 
Method SummaryModifier and TypeMethodDescriptionhandle(ErrorHandlerContext context, Record<?, ?> record, Exception exception) Inspect a record and the exception receivedMethods inherited from interface org.apache.kafka.common.Configurableconfigure
- 
Method Details- 
handleProcessingExceptionHandler.ProcessingHandlerResponse handle(ErrorHandlerContext context, Record<?, ?> record, Exception exception) Inspect a record and the exception received- Parameters:
- context- Processing context metadata.
- record- Record where the exception occurred.
- exception- The actual exception.
- Returns:
- Whether to continue or stop processing.
 
 
-