MCPcopy
hub / github.com/IBM/sarama / Consumer

Struct Consumer

examples/exactly_once/main.go:192–197  ·  examples/exactly_once/main.go::Consumer

Consumer represents a Sarama consumer group consumer

Source from the content-addressed store, hash-verified

190
191// Consumer represents a Sarama consumer group consumer
192type Consumer struct {
193 ready chan bool
194 groupId string
195 brokers []string
196 producerProvider *producerProvider
197}
198
199// Setup is run at the beginning of a new session, before ConsumeClaim
200func (consumer *Consumer) Setup(session sarama.ConsumerGroupSession) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected