(topic string, partition int32, offset int64, producerID int64, recordType ControlRecordType)
| 728 | } |
| 729 | |
| 730 | func (r *FetchResponse) AddControlRecord(topic string, partition int32, offset int64, producerID int64, recordType ControlRecordType) { |
| 731 | // define controlRecord key and value |
| 732 | r.AddControlRecordWithTimestamp(topic, partition, offset, producerID, recordType, time.Time{}) |
| 733 | } |
| 734 | |
| 735 | func (r *FetchResponse) SetLastOffsetDelta(topic string, partition int32, offset int32) { |
| 736 | frb := r.getOrCreateBlock(topic, partition) |