This commit is contained in:
2021-03-24 19:41:21 +08:00
parent 5ecff9ca7c
commit 5c63a9a894
+1 -4
View File
@@ -108,10 +108,7 @@ class Producer extends Component
} else if (!isset($consumers['groupId'])) {
$consumers['groupId'] = $topic . ':' . Snowflake::localhost();
}
var_dump(swoole_serialize($params));
$this->setGroupId($groupId)->setTopic($topic)
$this->setGroupId($consumers['groupId'])->setTopic($topic)
->setBrokers($consumers['brokers'])
->delivery(swoole_serialize($params));
}