This commit is contained in:
2020-10-28 16:12:30 +08:00
parent ad43b452af
commit f1b9086466
+2 -2
View File
@@ -44,8 +44,8 @@ class Producer extends Component
public function __construct($config = []) public function __construct($config = [])
{ {
$this->conf = Snowflake::createObject(Conf::class); $this->conf = new Conf();
$this->topicConf = Snowflake::createObject(TopicConf::class); $this->topicConf = new TopicConf();
parent::__construct($config); parent::__construct($config);
} }