Skip to content

Commit 5bed813

Browse files
committed
monitoring
1 parent a7bcf0d commit 5bed813

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

MonitoringExtension.php

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ public function onProcessorException(ProcessorException $context): void
208208

209209
public function onMessageReceived(MessageReceived $context): void
210210
{
211-
$this->received++;
211+
++$this->received;
212212
}
213213

214214
public function onResult(MessageResult $context): void
@@ -233,7 +233,7 @@ public function onResult(MessageResult $context): void
233233
throw new \LogicException();
234234
}
235235

236-
$event = new ConsumedMessageStats(
236+
$event = new ConsumedMessageStats(
237237
$this->consumerId,
238238
$timeMs,
239239
$context->getReceivedAt(),
@@ -277,17 +277,14 @@ public function onResult(MessageResult $context): void
277277

278278
public function onPostConsume(PostConsume $context): void
279279
{
280-
281280
}
282281

283282
public function onPostMessageReceived(PostMessageReceived $context): void
284283
{
285-
286284
}
287285

288286
public function onInitLogger(InitLogger $context): void
289287
{
290-
291288
}
292289

293290
private function getNowMs(): int

0 commit comments

Comments
 (0)