Replies: 1 comment
-
That is the expected behavior. To check if there are any messages available you can also get the ConsumerInfo for that consumer and check the number of pending messages. |
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
-
Observed behavior
When i fetch msg on a empty subject, it will wait the maxWait time
Expected behavior
when subject is empty, fetch return immediately
Server and client version
server: 2.10.4
client: github.com/nats-io/nats.go v1.31.0
Host environment
nats server run on kubernetes
client run another k8s namespace
Steps to reproduce
No response
Beta Was this translation helpful? Give feedback.
All reactions