Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logge antall ganger meldinger er forsøkt behandlet #97

Open
KjetillVassmoLund opened this issue Feb 5, 2020 · 0 comments
Open

Logge antall ganger meldinger er forsøkt behandlet #97

KjetillVassmoLund opened this issue Feb 5, 2020 · 0 comments

Comments

@KjetillVassmoLund
Copy link
Contributor

KjetillVassmoLund commented Feb 5, 2020

Ved behandling av meldinger vedlikeholdes hvor mange ganger en melding har blitt forsøkt lest.
Etter et konfigurerbart antall forsøk på håndtering av melding (nå 10) flyttes melding til DLQ.
I dag er det vanskelig å identifisere antall ganger en melding har blitt forsøkt behandlet. Det er også vanskelig å identifisere at en melding legges på DLQ fra applikasjonslogger.

For å forbedre logging og analyse ønskes det logget antall forsøk på behandling når melding legges tilbake på kø.
I dag logges:
Message processing failed. Keeping lock until it times out and we can try again. Message expires at UTC 31.12.9999 23:59:59

Endres til:
Message processing failed. Keeping lock until it times out and we can try again. ### **Delivery count + <Antall forsøk>** Message expires at UTC 31.12.9999 23:59:59

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants