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

Struct writerRecords

writer.go:1251–1257  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1249}
1250
1251type writerRecords struct {
1252 msgs []Message
1253 index int
1254 record Record
1255 key bytesReadCloser
1256 value bytesReadCloser
1257}
1258
1259func (r *writerRecords) ReadRecord() (*Record, error) {
1260 if r.index >= 0 && r.index < len(r.msgs) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected