From f73afb620990c4d4ed51bc7e184fa07d54c425ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Mon, 26 Oct 2020 17:03:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Kafka/Kafka.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kafka/Kafka.php b/Kafka/Kafka.php index 60227449..d16b327e 100644 --- a/Kafka/Kafka.php +++ b/Kafka/Kafka.php @@ -35,7 +35,7 @@ class Kafka extends \Snowflake\Process\Process $this->channelListener(); [$config, $conf] = $this->kafkaConfig(); $consumer = new \RdKafka\Consumer($config); - $consumer->addBrokers($config['brokers']); + $consumer->addBrokers($conf['brokers']); $topic = $consumer->newTopic("test"); while (true) {