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