From ad5d6369372d7d9b18bda42eec9f3dec21d2e912 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Thu, 5 Aug 2021 15:26:58 +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/KafkaClient.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kafka/KafkaClient.php b/Kafka/KafkaClient.php index fba139d1..4d5b0290 100644 --- a/Kafka/KafkaClient.php +++ b/Kafka/KafkaClient.php @@ -45,7 +45,7 @@ class KafkaClient */ private function setConfig(Conf $kafkaConfig) { - $config = Config::get('producers.' . $this->topic, null, true); + $config = Config::get('kafka.producers.' . $this->topic, null, true); if (!isset($config['brokers']) || !isset($config['groupId'])) { throw new ConfigException('Please configure relevant information.'); }