改名
This commit is contained in:
+4
-2
@@ -166,9 +166,11 @@ class Kafka extends \Snowflake\Process\Process
|
|||||||
$topicConf->set('offset.store.path', 'kafka_offset.log');
|
$topicConf->set('offset.store.path', 'kafka_offset.log');
|
||||||
$topicConf->set('offset.store.method', 'broker');
|
$topicConf->set('offset.store.method', 'broker');
|
||||||
|
|
||||||
$conf->set('auto.create.topics.enable', 'true');
|
var_dump($topicConf->dump());
|
||||||
|
|
||||||
|
$topicConf->set('auto.create.topics.enable', 'true');
|
||||||
} catch (Throwable $exception) {
|
} catch (Throwable $exception) {
|
||||||
var_dump($exception->getMessage());
|
$this->application->error($exception->getMessage());
|
||||||
}
|
}
|
||||||
|
|
||||||
return [$conf, $topicConf, $kafka];
|
return [$conf, $topicConf, $kafka];
|
||||||
|
|||||||
Reference in New Issue
Block a user