import org.springframework.kafka.KafkaException; import org.springframework.lang.Nullable; /** * An exception thrown by user code to inform the framework which record in a batch has * failed. * * @author Gary R