Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Batch ¶
func (*Batch) AddEvents ¶
func (b *Batch) AddEvents(ctx *replication.ListenerContext, messages []gokafka.Message, eventTime time.Time, isLastChunk bool)
func (*Batch) FlushMessages ¶
func (b *Batch) FlushMessages()
func (*Batch) StartBatchTicker ¶
func (b *Batch) StartBatchTicker()
type Metric ¶
type Producer ¶
type Producer struct {
ProducerBatch *Batch
}
func NewProducer ¶
func (*Producer) Produce ¶
func (p *Producer) Produce( ctx *replication.ListenerContext, eventTime time.Time, messages []gokafka.Message, isLastChunk bool, )
func (*Producer) StartBatch ¶
func (p *Producer) StartBatch()
Click to show internal directories.
Click to hide internal directories.