1
0
mirror of https://github.com/newnius/YAO-scheduler.git synced 2025-12-15 08:16:43 +00:00
This commit is contained in:
2019-03-20 11:14:07 +08:00
parent aa2a233485
commit 66b4468c74
8 changed files with 541 additions and 26 deletions

View File

@@ -12,7 +12,7 @@ var (
)
func start(pool *ResourcePool) {
consumer, err := sarama.NewConsumer([]string{"kafka_node1:9092", "kafka_node2:9093", "kafka_node3:9094"}, nil)
consumer, err := sarama.NewConsumer([]string{"kafka_node1:9091", "kafka_node2:9092", "kafka_node3:9093"}, nil)
if err != nil {
panic(err)
}