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

Struct RecordStream

protocol/record_batch.go:332–335  ·  view source on GitHub ↗

RecordStream is an implementation of the RecordReader interface which combines multiple underlying RecordReader and only expose records that are not from control batches.

Source from the content-addressed store, hash-verified

330// combines multiple underlying RecordReader and only expose records that
331// are not from control batches.
332type RecordStream struct {
333 Records []RecordReader
334 index int
335}
336
337func (s *RecordStream) ReadRecord() (*Record, error) {
338 for {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected