Configurable
DefaultProductionExceptionHandler
public interface ProductionExceptionHandler extends Configurable
Modifier and Type | Interface | Description |
---|---|---|
static class |
ProductionExceptionHandler.ProductionExceptionHandlerResponse |
Modifier and Type | Method | Description |
---|---|---|
ProductionExceptionHandler.ProductionExceptionHandlerResponse |
handle(ProducerRecord<byte[],byte[]> record,
java.lang.Exception exception) |
Inspect a record that we attempted to produce, and the exception that resulted
from attempting to produce it and determine whether or not to continue processing.
|
configure
ProductionExceptionHandler.ProductionExceptionHandlerResponse handle(ProducerRecord<byte[],byte[]> record, java.lang.Exception exception)
record
- The record that failed to produceexception
- The exception that occurred during production