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

Method reset

reader.go:187–191  ·  view source on GitHub ↗

reset clears the contents of the offsetStash.

()

Source from the content-addressed store, hash-verified

185
186// reset clears the contents of the offsetStash.
187func (o offsetStash) reset() {
188 for key := range o {
189 delete(o, key)
190 }
191}
192
193// commitLoopImmediate handles each commit synchronously.
194func (r *Reader) commitLoopImmediate(ctx context.Context, gen *Generation) {

Callers 2

commitLoopImmediateMethod · 0.95
commitLoopIntervalMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected