class ProduceRequest extends AbstractRequest {

    public boolean hasTransactionalRecords() {
        return hasTransactionalRecords;
    }

    private  ProduceRequest(short version, short acks, int timeout, Map<TopicPartition, MemoryRecords> partitionRecords, String transactionalId);
    public  ProduceRequest(Struct struct, short version);

}