ing
This commit is contained in:
parent
1fd01a35ad
commit
b7424d7b2f
2
external/kafka/kafka.go
vendored
2
external/kafka/kafka.go
vendored
|
@ -12,7 +12,7 @@ var (
|
||||||
func ExternalInit() {
|
func ExternalInit() {
|
||||||
kafkaWriter = kafka.NewWriter(kafka.WriterConfig{
|
kafkaWriter = kafka.NewWriter(kafka.WriterConfig{
|
||||||
Brokers: []string{"192.168.1.50:9092"},
|
Brokers: []string{"192.168.1.50:9092"},
|
||||||
Topic: "topic-overflow-probe-metric",
|
Topic: "overflow-metric-topic",
|
||||||
Balancer: &kafka.LeastBytes{},
|
Balancer: &kafka.LeastBytes{},
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user