This commit is contained in:
2020-12-23 16:25:27 +08:00
parent 9b27cc5a9f
commit 0ad2125eff
+1 -1
View File
@@ -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());
}