class ProducerBatch {

    boolean hasReachedDeliveryTimeout(long deliveryTimeoutMs, long now) {
        return deliveryTimeoutMs <= now - this.createdMs;
    }

    public  ProducerBatch(TopicPartition tp, MemoryRecordsBuilder recordsBuilder, long createdMs);
    public  ProducerBatch(TopicPartition tp, MemoryRecordsBuilder recordsBuilder, long createdMs, boolean isSplitBatch);

}