Commit 14278aec authored by hangjun83's avatar hangjun83

openapi

parent 20d6abcd
......@@ -66,8 +66,8 @@ class KafkaService
if(!empty($kafkaMessage)){
try{
app($kafkaMessage['consumer'])->{$kafkaMessage['method']}($kafkaMessage['params']);
$consumer->ack($message); // 手动提交
app($kafkaMessage['consumer'])->{$kafkaMessage['method']}($kafkaMessage['params']);
}catch(\Exception $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