Curently we only report metrics when Consumer.handleMessages has called HandleMessage and it has returned a nil error. We need to also report metrics on cases where HandleMessage returns an error, as without this we can get stuck in a loop trying to process a bad message, and nobody would notice.
Curently we only report metrics when
Consumer.handleMessages
has calledHandleMessage
and it has returned anil
error. We need to also report metrics on cases whereHandleMessage
returns an error, as without this we can get stuck in a loop trying to process a bad message, and nobody would notice.