Commit 14278aec authored by hangjun83's avatar hangjun83

openapi

parent 20d6abcd
...@@ -66,8 +66,8 @@ class KafkaService ...@@ -66,8 +66,8 @@ class KafkaService
if(!empty($kafkaMessage)){ if(!empty($kafkaMessage)){
try{ try{
app($kafkaMessage['consumer'])->{$kafkaMessage['method']}($kafkaMessage['params']);
$consumer->ack($message); // 手动提交 $consumer->ack($message); // 手动提交
app($kafkaMessage['consumer'])->{$kafkaMessage['method']}($kafkaMessage['params']);
}catch(\Exception $exception){ }catch(\Exception $exception){
$this->errLog($exception); $this->errLog($exception);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment