This commit is contained in:
crusader 2018-04-01 19:08:46 +09:00
parent 1fd01a35ad
commit b7424d7b2f

View File

@ -12,7 +12,7 @@ var (
func ExternalInit() {
kafkaWriter = kafka.NewWriter(kafka.WriterConfig{
Brokers: []string{"192.168.1.50:9092"},
Topic: "topic-overflow-probe-metric",
Topic: "overflow-metric-topic",
Balancer: &kafka.LeastBytes{},
})
}