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

Method useSyncCommits

reader.go:109–109  ·  view source on GitHub ↗

useSyncCommits indicates whether the Reader is configured to perform sync or async commits.

()

Source from the content-addressed store, hash-verified

107// useSyncCommits indicates whether the Reader is configured to perform sync or
108// async commits.
109func (r *Reader) useSyncCommits() bool { return r.config.CommitInterval == 0 }
110
111func (r *Reader) unsubscribe() {
112 r.cancel()

Callers 2

commitLoopMethod · 0.95
CommitMessagesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected