-
Notifications
You must be signed in to change notification settings - Fork 189
Description
In case of the failure-strategy set to dead-letter-queue, if there is an exception while processing the message, the message can be consumed from the dead-letter queue topic, as described in https://quarkus.io/blog/kafka-failure-strategy/
But in the MicroMeter registry, the error is not counted, only in the incoming channel:
"mp.messaging.message.count;channel=ping-events": 1.0,
"mp.messaging.message.count;channel=pong-events": 0.0,
"mp.messaging.message.count;channel=dead-letter-topic-ping-events": 0.0,
The content of the header of the message consumed from DLQ:
dead-letter-exception-class-name: java.lang.IllegalArgumentException
dead-letter-reason: java.lang.IllegalArgumentException
dead-letter-topic: ping-events
dead-letter-partition: 0
The dead-letter-topic events should be counted in micrometer.
Java version: 17, Maven: 3.9.5, quarkus-smallrye-reactive-messaging-kafka, quarkus-micrometer-registry-prometheus: 3.2.9.Final-redhat-00003