What is the exact meaning of "Unprocessed Messages" in the "nats consumer info" output? #5994
Unanswered
fmontorsi-equinix
asked this question in
Q&A
Replies: 1 comment 5 replies
-
Unprocessed is a message that has never had any delivery attempts - in other words its messages not yet received by the clients at all. |
Beta Was this translation helpful? Give feedback.
5 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.
-
Context for this question: I wrote a small golang example to understand the impact of settings like the "MaxWaiting" parameter of jetstream.ConsumerConfig.
I'm using Jetstream and nats:2.10.16.
My example app is composed by:
The app runs for 10 sec and then stops and prints how many messages were published with NO error and how many messages were processed by the 10 consumers.
What I noticed is that if
MaxWaiting
is large enough, then at the end of my test, the "nats consumer info" output looks good:but if I start to decrease the
MaxWaiting
config for the stream, at the end of my app I see 'Unprocessed Messages' being potentially very large.So my question is what is the exact meaning of
Unprocessed Messages
stats? Does that indicates an issue on the Publisher-side (which is strange since my app reports 0 publishing errors) or rather an issue on the Consumer-side?thanks!
Beta Was this translation helpful? Give feedback.
All reactions