Golang 连接火山云 datasail kafka 生产消息 Jackey Golang 2024-07-30 370 次浏览 Golang, kafka package main import ( "fmt" "github.com/confluentinc/confluent-kafka-go/kafka" ) // 发送信息到队列 func Send(content, topic string) { // 构造生产配置 configMap := &kafka.ConfigMap{ ...