public long nextExpiryTimeMs() {
        return this.nextBatchExpiryTimeMs;
    }
The earliest absolute time a batch will expire (in milliseconds)
clients/src/main/java/org/apache/kafka/clients/producer/internals/RecordAccumulator.java