Documentation ¶
Index ¶
- type Config
- type Consumer
- func (c *Consumer) Cleanup(assignment sarama.ConsumerGroupSession) error
- func (c *Consumer) ConsumeClaim(assignment sarama.ConsumerGroupSession, claim sarama.ConsumerGroupClaim) error
- func (c *Consumer) OnMessageHandler(f func(msg *pbf.QueueMsg))
- func (c *Consumer) Setup(assignment sarama.ConsumerGroupSession) error
- type Producer
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 (*Consumer) ConsumeClaim ¶
func (c *Consumer) ConsumeClaim(assignment sarama.ConsumerGroupSession, claim sarama.ConsumerGroupClaim) error
func (*Consumer) OnMessageHandler ¶
type Producer ¶
type Producer struct {
// contains filtered or unexported fields
}
func NewProducer ¶
Click to show internal directories.
Click to hide internal directories.