MCPcopy
hub / github.com/IBM/sarama / AddControlRecord

Method AddControlRecord

fetch_response.go:730–733  ·  view source on GitHub ↗
(topic string, partition int32, offset int64, producerID int64, recordType ControlRecordType)

Source from the content-addressed store, hash-verified

728}
729
730func (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
735func (r *FetchResponse) SetLastOffsetDelta(topic string, partition int32, offset int32) {
736 frb := r.getOrCreateBlock(topic, partition)

Callers 1

TestExcludeUncommittedFunction · 0.95

Calls 1

Tested by 1

TestExcludeUncommittedFunction · 0.76