Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartReceive ¶
Types ¶
type KafkaStub ¶
type KafkaStub struct {
// contains filtered or unexported fields
}
func NewKafkaStub ¶
func (*KafkaStub) NewConsumerGroup ¶
type Reader ¶
type Reader struct {
// contains filtered or unexported fields
}
func (*Reader) Cleanup ¶
func (consumer *Reader) Cleanup(sarama.ConsumerGroupSession) error
Cleanup is run at the end of a session, once all ConsumeClaim goroutines have exited
func (*Reader) ConsumeClaim ¶
func (consumer *Reader) ConsumeClaim(session sarama.ConsumerGroupSession, claim sarama.ConsumerGroupClaim) error
ConsumeClaim must start a consumer loop of ConsumerGroupClaim's Messages().
Click to show internal directories.
Click to hide internal directories.