Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Batch ¶ added in v0.0.65
type Batch struct { Writer *kafka.Writer // contains filtered or unexported fields }
func (*Batch) AddMessages ¶ added in v0.0.65
func (*Batch) FlushMessages ¶ added in v0.0.65
func (b *Batch) FlushMessages()
func (*Batch) PrepareEndRebalancing ¶ added in v0.0.65
func (b *Batch) PrepareEndRebalancing()
func (*Batch) PrepareStartRebalancing ¶ added in v0.0.65
func (b *Batch) PrepareStartRebalancing()
func (*Batch) StartBatchTicker ¶ added in v0.0.65
func (b *Batch) StartBatchTicker()
type Producer ¶
type Producer struct {
ProducerBatch *Batch
}
func NewProducer ¶
func (*Producer) StartBatch ¶
func (p *Producer) StartBatch()
Click to show internal directories.
Click to hide internal directories.