This commit is contained in:
2021-03-24 17:57:08 +08:00
parent 2610267aba
commit 6df0cb4003
11 changed files with 576 additions and 532 deletions
+2
View File
@@ -24,6 +24,8 @@ class Struct
*/
public function __construct($topic, Message $message)
{
$message->payload = swoole_unserialize($message->payload);
$this->topic = $topic;
$this->offset = $message->offset;
$this->part = $message->partition;