Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetKafkaStats ¶ added in v1.2.3
func NewConsumerGroupHandler ¶
func NewConsumerGroupHandler(queue *chan Message) sarama.ConsumerGroupHandler
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewKafkaClient ¶
func NewKafkaClient(opts NewClientOptions) (client *Client, err error)
func (*Client) ChangeSubscribedTopics ¶
func (*Client) EnqueueMessage ¶
func (*Client) GetMessages ¶
type ConsumerGroupHandler ¶
type ConsumerGroupHandler struct {
// contains filtered or unexported fields
}
func (ConsumerGroupHandler) Cleanup ¶
func (c ConsumerGroupHandler) Cleanup(session sarama.ConsumerGroupSession) error
func (ConsumerGroupHandler) ConsumeClaim ¶
func (c ConsumerGroupHandler) ConsumeClaim(session sarama.ConsumerGroupSession, claim sarama.ConsumerGroupClaim) error
func (ConsumerGroupHandler) Setup ¶
func (c ConsumerGroupHandler) Setup(session sarama.ConsumerGroupSession) error
type Message ¶ added in v1.2.0
func ToKafkaMessage ¶
Click to show internal directories.
Click to hide internal directories.