find out how many times the message was tried to be reprocessed? #4980
Unanswered
AlexandrTQ
asked this question in
Q&A
Replies: 1 comment
-
You can access that property by calling https://pkg.go.dev/github.com/nats-io/nats.go/jetstream#Msg In field |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I mean something like this:
There is a MaxDeliver field here that limits the number of attempts to reprocess a message. It seems obvious that it should be possible to get the current number of deliver to understand whether a given processing is the last one or not.
However, I don't see a similar method in jetstream.Msg, and I haven't found any information about it at all.
Beta Was this translation helpful? Give feedback.
All reactions