Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KafkaProducer ¶
func NewKafkaProducer ¶
func NewKafkaProducer() *KafkaProducer
type ProducerProvider ¶
type ProducerProvider struct {
// contains filtered or unexported fields
}
pool of producers that ensure transactional-id is unique.
func (*ProducerProvider) Borrow ¶
func (p *ProducerProvider) Borrow() (producer sarama.AsyncProducer)
func (*ProducerProvider) Release ¶
func (p *ProducerProvider) Release(producer sarama.AsyncProducer)
Click to show internal directories.
Click to hide internal directories.