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
}
func NewConsumer ¶
func NewConsumerDefault ¶
func NewConsumerDefault(scanner sarama.ConsumerGroupHandler) (*Consumer, error)
type GroupHandler ¶
type GroupHandler struct { Log logservice.Logger // contains filtered or unexported fields }
func NewConsumerGroupHandler ¶
func NewConsumerGroupHandler(scanner *scanner.Scanner, logService logservice.Logger) *GroupHandler
func NewConsumerGroupHandlerDefault ¶
func NewConsumerGroupHandlerDefault(scanner *scanner.Scanner) *GroupHandler
func (*GroupHandler) Cleanup ¶
func (h *GroupHandler) Cleanup(session sarama.ConsumerGroupSession) error
func (*GroupHandler) ConsumeClaim ¶
func (h *GroupHandler) ConsumeClaim(session sarama.ConsumerGroupSession, claim sarama.ConsumerGroupClaim) error
func (*GroupHandler) Setup ¶
func (h *GroupHandler) Setup(session sarama.ConsumerGroupSession) error
Click to show internal directories.
Click to hide internal directories.