Interface ProductionExceptionHandler

    • Method Detail

      • handle

        ProductionExceptionHandler.ProductionExceptionHandlerResponse handle​(ProducerRecord<byte[],​byte[]> record,
                                                                             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.
        Parameters:
        record - The record that failed to produce
        exception - The exception that occurred during production