改名
This commit is contained in:
@@ -41,6 +41,7 @@ class Kafka implements CustomProcess
|
||||
|
||||
|
||||
/**
|
||||
* @param Process $process
|
||||
* @return string
|
||||
* @throws ConfigException
|
||||
*/
|
||||
@@ -123,6 +124,8 @@ class Kafka implements CustomProcess
|
||||
{
|
||||
go(function () use ($topic, $message) {
|
||||
try {
|
||||
var_dump($topic, $message);
|
||||
|
||||
$server = Snowflake::app()->getSwoole();
|
||||
|
||||
$setting = $server->setting['worker_num'];
|
||||
|
||||
Reference in New Issue
Block a user