Configurable, ProductionExceptionHandlerpublic class DefaultProductionExceptionHandler extends java.lang.Object implements ProductionExceptionHandler
ProductionExceptionHandler that always instructs streams to fail when an exception
 happens while attempting to produce result records.ProductionExceptionHandler.ProductionExceptionHandlerResponse| Constructor | Description | 
|---|---|
| DefaultProductionExceptionHandler() | 
| Modifier and Type | Method | Description | 
|---|---|---|
| void | configure(java.util.Map<java.lang.String,?> configs) | Configure this class with the given key-value pairs | 
| 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. | 
public ProductionExceptionHandler.ProductionExceptionHandlerResponse handle(ProducerRecord<byte[],byte[]> record, java.lang.Exception exception)
ProductionExceptionHandlerhandle in interface ProductionExceptionHandlerrecord - The record that failed to produceexception - The exception that occurred during productionpublic void configure(java.util.Map<java.lang.String,?> configs)
Configurableconfigure in interface Configurable