Consumer represents a Sarama consumer group consumer
| 190 | |
| 191 | // Consumer represents a Sarama consumer group consumer |
| 192 | type 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 |
| 200 | func (consumer *Consumer) Setup(session sarama.ConsumerGroupSession) error { |
nothing calls this directly
no outgoing calls
no test coverage detected