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

Function newLegacyRecords

records.go:20–22  ·  view source on GitHub ↗
(msgSet *MessageSet)

Source from the content-addressed store, hash-verified

18}
19
20func newLegacyRecords(msgSet *MessageSet) Records {
21 return Records{recordsType: legacyRecords, MsgSet: msgSet}
22}
23
24func newDefaultRecords(batch *RecordBatch) Records {
25 return Records{recordsType: defaultRecords, RecordBatch: batch}

Callers 5

addMethod · 0.85
AddMessageMethod · 0.85
AddSetMethod · 0.85
TestLegacyRecordsFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestLegacyRecordsFunction · 0.68