public short producerEpoch() {
        return this.producerEpoch;
    }
Return the producer id of the RecordBatches created by this builder.
clients/src/main/java/org/apache/kafka/common/record/MemoryRecordsBuilder.java