Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Consumer ¶
type Consumer struct {
// contains filtered or unexported fields
}
Consumer represent a kafka transport consumer.
func NewConsumer ¶
NewConsumer returns a new consumer.
func (Consumer) ConsumeClaim ¶
func (c Consumer) ConsumeClaim(session sarama.ConsumerGroupSession, claim sarama.ConsumerGroupClaim) error
func (Consumer) ReceivedMessage ¶
func (c Consumer) ReceivedMessage(message *sarama.ConsumerMessage) error
ReceivedMessage contains logic for creating a todo.
Click to show internal directories.
Click to hide internal directories.