Documentation
¶
Index ¶
- type Committer
- type ConsumeCallback
- type Consumer
- func NewConsumer(brokers string, groupId string, topic string, threads int) (*Consumer, error)
- func NewConsumerWithRebalanceCb(brokers string, groupId string, topic string, threads int, ...) (*Consumer, error)
- func NewSingleThreadConsumer(brokers string, groupId string, topic string) (*Consumer, error)
- type Producer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Committer ¶
type Committer struct {
// contains filtered or unexported fields
}
func (*Committer) WaitCommits ¶
func (c *Committer) WaitCommits()
type Consumer ¶
type Consumer struct {
// contains filtered or unexported fields
}
func NewConsumer ¶
func NewSingleThreadConsumer ¶
func (*Consumer) Consume ¶
func (c *Consumer) Consume(cb ConsumeCallback) []error
type Producer ¶
type Producer struct {
// contains filtered or unexported fields
}
func NewProducerWithConfig ¶
Click to show internal directories.
Click to hide internal directories.