(topic string, partition int32, batch *RecordBatch)
| 311 | } |
| 312 | |
| 313 | func (r *ProduceRequest) AddBatch(topic string, partition int32, batch *RecordBatch) { |
| 314 | r.ensureRecords(topic, partition) |
| 315 | r.records[topic][partition] = newDefaultRecords(batch) |
| 316 | } |