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

Method useConsumerGroup

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

useConsumerGroup indicates whether the Reader is part of a consumer group.

()

Source from the content-addressed store, hash-verified

95
96// useConsumerGroup indicates whether the Reader is part of a consumer group.
97func (r *Reader) useConsumerGroup() bool { return r.config.GroupID != "" }
98
99func (r *Reader) getTopics() []string {
100 if len(r.config.GroupTopics) > 0 {

Callers 8

NewReaderFunction · 0.95
ReadMessageMethod · 0.95
CommitMessagesMethod · 0.95
ReadLagMethod · 0.95
OffsetMethod · 0.95
LagMethod · 0.95
SetOffsetMethod · 0.95
activateReadLagMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected