改名
This commit is contained in:
+1
-4
@@ -108,10 +108,7 @@ class Producer extends Component
|
|||||||
} else if (!isset($consumers['groupId'])) {
|
} else if (!isset($consumers['groupId'])) {
|
||||||
$consumers['groupId'] = $topic . ':' . Snowflake::localhost();
|
$consumers['groupId'] = $topic . ':' . Snowflake::localhost();
|
||||||
}
|
}
|
||||||
|
$this->setGroupId($consumers['groupId'])->setTopic($topic)
|
||||||
var_dump(swoole_serialize($params));
|
|
||||||
|
|
||||||
$this->setGroupId($groupId)->setTopic($topic)
|
|
||||||
->setBrokers($consumers['brokers'])
|
->setBrokers($consumers['brokers'])
|
||||||
->delivery(swoole_serialize($params));
|
->delivery(swoole_serialize($params));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user