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

Method ReadFirstOffset

conn.go:901–903  ·  view source on GitHub ↗

ReadFirstOffset returns the first offset available on the connection.

()

Source from the content-addressed store, hash-verified

899
900// ReadFirstOffset returns the first offset available on the connection.
901func (c *Conn) ReadFirstOffset() (int64, error) {
902 return c.readOffset(FirstOffset)
903}
904
905// ReadLastOffset returns the last offset available on the connection.
906func (c *Conn) ReadLastOffset() (int64, error) {

Callers 1

ReadOffsetsMethod · 0.95

Calls 1

readOffsetMethod · 0.95

Tested by

no test coverage detected