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

Struct commit

commit.go:5–9  ·  view source on GitHub ↗

A commit represents the instruction of publishing an update of the last offset read by a program for a topic and partition.

Source from the content-addressed store, hash-verified

3// A commit represents the instruction of publishing an update of the last
4// offset read by a program for a topic and partition.
5type commit struct {
6 topic string
7 partition int
8 offset int64
9}
10
11// makeCommit builds a commit value from a message, the resulting commit takes
12// its topic, partition, and offset from the message.

Callers 1

commitLoopIntervalMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected