Replies: 3 comments 6 replies
-
@Inkathu Is this reproducible? Can you please provide code to reproduce this, including your stream creation code and consumer creation code? My guess is that your consumer configuration subject filter covers more subjects than you expect. |
Beta Was this translation helpful? Give feedback.
-
I noticed you published to a subject like this
You actual subject has a dot greater than sign at the end? What are you trying to accomplish. This may be the clue to the problem here. I would also recommend that you don't do that. |
Beta Was this translation helpful? Give feedback.
-
@Inkathu I'm closing this discussion. I have filed a bug in the server: nats-io/nats-server#5608 |
Beta Was this translation helpful? Give feedback.
-
Hi!
How could it be, that consumer unprocessed messages count is higher than stream messages?
I have the stream:
`Information for Stream OrchestrationStream_08fa7d3dcd644745bace255d2c76fbc2 created 2024-06-20 12:58:59
Options:
Limits:
Maximum Per Subject: unlimited
Maximum Bytes: unlimited
Maximum Age: 1y0d0h0m0s
Maximum Message Size: unlimited
Maximum Consumers: unlimited
State:
Number of Subjects: 98`
And information about newly created consumer:
`Information for Consumer OrchestrationStream_08fa7d3dcd644745bace255d2c76fbc2 > orch_test created 2024-06-28T10:06:44+02:00
Configuration:
Max Waiting Pulls: 512
Headers Only: true
State:
Last Delivered Message: Consumer sequence: 0 Stream sequence: 1,132
Acknowledgment floor: Consumer sequence: 0 Stream sequence: 0
Outstanding Acks: 0 out of maximum 1,000
Redelivered Messages: 0
Unprocessed Messages: 563
Waiting Pulls: 0 of maximum 5`
How could I get actual information about consumer total messages count?
I can't get stream information, because consumers could have different subjects.
Beta Was this translation helpful? Give feedback.
All reactions