This commit is contained in:
as2252258@163.com
2021-04-11 18:26:11 +08:00
parent 5b0467944b
commit 8ca36d47d9
4 changed files with 452 additions and 462 deletions
+2 -1
View File
@@ -68,7 +68,8 @@ class OnPipeMessage extends Callback
{
[$topic, $message] = $message['body'];
$container = TaskContainer::getInstance();
/** @var TaskContainer $container */
$container = Snowflake::app()->get('kafka-container');
$container->process($topic, new Struct($topic, $message));
return 'success';
}