MCPcopy Create free account
hub / github.com/IBM/sarama / AddControlRecord

Method AddControlRecord

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

Source from the content-addressed store, hash-verified

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

Callers 1

TestExcludeUncommittedFunction · 0.95

Calls 1

Tested by 1

TestExcludeUncommittedFunction · 0.76