MCPcopy
hub / github.com/IBM/sarama / MarkOffset

Method MarkOffset

consumer_group.go:984–988  ·  view source on GitHub ↗
(topic string, partition int32, offset int64, metadata string)

Source from the content-addressed store, hash-verified

982func (s *consumerGroupSession) GenerationID() int32 { return s.generationID }
983
984func (s *consumerGroupSession) MarkOffset(topic string, partition int32, offset int64, metadata string) {
985 if pom := s.offsets.findPOM(topic, partition); pom != nil {
986 pom.MarkOffset(offset, metadata)
987 }
988}
989
990func (s *consumerGroupSession) Commit() {
991 s.offsets.Commit()

Callers 1

MarkMessageMethod · 0.95

Calls 2

findPOMMethod · 0.80
MarkOffsetMethod · 0.65

Tested by

no test coverage detected