改名
This commit is contained in:
+1
-4
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user