MCPcopy
hub / github.com/segmentio/kafka-go / ReadRecord

Method ReadRecord

protocol/record_batch.go:297–299  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

295}
296
297func (r *RecordBatch) ReadRecord() (*Record, error) {
298 return r.Records.ReadRecord()
299}
300
301func (r *RecordBatch) Offset() int64 {
302 return r.BaseOffset

Callers

nothing calls this directly

Calls 1

ReadRecordMethod · 0.65

Tested by

no test coverage detected