This commit is contained in:
as2252258@163.com
2021-04-11 19:02:42 +08:00
parent 42ce1015c2
commit 858e4b2ba5
4 changed files with 28 additions and 1 deletions
+4
View File
@@ -68,6 +68,10 @@ class OnPipeMessage extends Callback
{
[$topic, $message] = $message['body'];
call_user_func($message['handler'], new Struct($topic, $message));
return 'success';
/** @var TaskContainer $container */
$container = Snowflake::app()->get('kafka-container');
$container->process($topic, new Struct($topic, $message));