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

Struct MessageSet

protocol/record_batch.go:311–315  ·  view source on GitHub ↗

MessageSet is an implementation of the RecordReader interface representing regular message sets (v1).

Source from the content-addressed store, hash-verified

309// MessageSet is an implementation of the RecordReader interface representing
310// regular message sets (v1).
311type MessageSet struct {
312 Attributes Attributes
313 BaseOffset int64
314 Records RecordReader
315}
316
317func (m *MessageSet) ReadRecord() (*Record, error) {
318 return m.Records.ReadRecord()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected