Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type KafkaConsumer ¶
type KafkaConsumer struct {
// contains filtered or unexported fields
}
var KafkaConsumerHandler *KafkaConsumer
type KafkaProducer ¶
type KafkaProducer struct {
// contains filtered or unexported fields
}
var KafkaProducerHandler KafkaProducer
func (*KafkaProducer) Produce ¶
func (p *KafkaProducer) Produce(msg *sarama.ProducerMessage) (int32, int64, error)
Produce 向 Kafka 主题发送消息
Click to show internal directories.
Click to hide internal directories.