Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KafkaLogProducer ¶
type KafkaLogProducer struct { Topic string // Kafka topic Partition int // Kafka partition Host string // Kafka broker host Port int // Kafka broker port // contains filtered or unexported fields }
func (*KafkaLogProducer) InitWriter ¶
func (k *KafkaLogProducer) InitWriter()
InitWriter InitProducer 初始化 Kafka 生产者
Click to show internal directories.
Click to hide internal directories.