(topic string, partition int32, set *MessageSet)
| 306 | } |
| 307 | |
| 308 | func (r *ProduceRequest) AddSet(topic string, partition int32, set *MessageSet) { |
| 309 | r.ensureRecords(topic, partition) |
| 310 | r.records[topic][partition] = newLegacyRecords(set) |
| 311 | } |
| 312 | |
| 313 | func (r *ProduceRequest) AddBatch(topic string, partition int32, batch *RecordBatch) { |
| 314 | r.ensureRecords(topic, partition) |
no test coverage detected