public void handleLoss(String loss) {
        lossHandler.accept(new UnwritableMetadataException(requestedMetadataVersion, loss));
    }
The options to use when writing an image.
metadata/src/main/java/org/apache/kafka/image/writer/ImageWriterOptions.java