Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Consumer ¶
type Consumer struct { Messages chan *sarama.ConsumerMessage // contains filtered or unexported fields }
Consumer ...
func ConsumeGroup ¶
ConsumeGroup ...
func (*Consumer) Cleanup ¶
func (consumer *Consumer) Cleanup(sarama.ConsumerGroupSession) error
Cleanup ...
func (*Consumer) ConsumeClaim ¶
func (consumer *Consumer) ConsumeClaim(session sarama.ConsumerGroupSession, claim sarama.ConsumerGroupClaim) error
ConsumeClaim ...
type ConsumerOptions ¶
ConsumerOptions ...
type Producer ¶
type Producer struct { DataCollector sarama.SyncProducer AccessLogProducer sarama.AsyncProducer }
Producer ...
func CreateProducer ¶
func CreateProducer(ctx context.Context, options ProducerOptions) (*Producer, error)
CreateProducer ...
Click to show internal directories.
Click to hide internal directories.