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

Method getTopicPartitionOffset

reader.go:1126–1129  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1124}
1125
1126func (r *Reader) getTopicPartitionOffset() map[topicPartition]int64 {
1127 key := topicPartition{topic: r.config.Topic, partition: int32(r.config.Partition)}
1128 return map[topicPartition]int64{key: r.offset}
1129}
1130
1131func (r *Reader) withLogger(do func(Logger)) {
1132 if r.config.Logger != nil {

Callers 2

FetchMessageMethod · 0.95
SetOffsetMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected