This commit is contained in:
2020-10-28 17:50:48 +08:00
parent dc96cff074
commit d7c298d1f8
+4 -1
View File
@@ -45,9 +45,12 @@ class Producer extends Component
public function __construct($config = [])
{
parent::__construct($config);
if (!class_exists(Conf::class)) {
return;
}
$this->conf = new Conf();
$this->topicConf = new TopicConf();
parent::__construct($config);
}