From 0ad2125effa17e4548bdf43e0c4fe2f5e4636d40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Wed, 23 Dec 2020 16:25:27 +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 5c12e6b9..cff5a7ba 100644 --- a/Kafka/Kafka.php +++ b/Kafka/Kafka.php @@ -166,7 +166,7 @@ class Kafka extends \Snowflake\Process\Process //smallest:简单理解为从头开始消费,largest:简单理解为从最新的开始消费 $topicConf->set('auto.offset.reset', 'smallest'); $topicConf->set('offset.store.path', 'kafka_offset.log'); - $topicConf->set('allow.auto.create.topics', 'true'); +// $topicConf->set('allow.auto.create.topics', 'true'); } catch (Throwable $exception) { var_dump($exception->getMessage()); }