boolean hasReachedDeliveryTimeout(long deliveryTimeoutMs, long now) {
        return deliveryTimeoutMs <= now - this.createdMs;
    }
A callback and the associated FutureRecordMetadata argument to pass to it.
clients/src/main/java/org/apache/kafka/clients/producer/internals/ProducerBatch.java