void drained(long nowMs) {
        this.drainedMs = Math.max(drainedMs, nowMs);
    }
A callback and the associated FutureRecordMetadata argument to pass to it.
clients/src/main/java/org/apache/kafka/clients/producer/internals/ProducerBatch.java