You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I often get the error no heartbeat received. Why do I get this error, where have I misconfigured?
When I get this error it seems like my pull consumer has been deleted, I don't know the reason but it seems to be due to exceeding the time configured in the InactiveThreshold attribute configured in the consumer config.
What we don't see here, is the context in which both provided functions are called. Could you please share it?
Inactive Threshold kicks in when there is noone listening for messages from a consumer (so, no Fetch or Messages active).
This means it can happen for example if there is a long pause between creating a consumer and consuming its messages, or longer than a minute app downtime (the app that is consuming).
Moving the issue to the nats.go repo, as it's probably a client side discussion unless we find any issue.
Observed behavior
I often get the error no heartbeat received. Why do I get this error, where have I misconfigured?
When I get this error it seems like my pull consumer has been deleted, I don't know the reason but it seems to be due to exceeding the time configured in the InactiveThreshold attribute configured in the consumer config.
Expected behavior
Please explain to me and avoid this situation again.
Server and client version
nats-server version: 2.10.12
Host environment
No response
Steps to reproduce
No response
The text was updated successfully, but these errors were encountered: