Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KafkaProducer ¶
type KafkaProducer struct {
// contains filtered or unexported fields
}
func NewKafkaProducer ¶
func NewKafkaProducer(brokers []string, topic string) *KafkaProducer
func (*KafkaProducer) Close ¶
func (kp *KafkaProducer) Close() error
func (*KafkaProducer) Produce ¶
func (kp *KafkaProducer) Produce(key, value []byte) error
Click to show internal directories.
Click to hide internal directories.