Question About Consumer Status Checks #557
-
SummaryHi there! I have a question regarding the consumer status checks ( For context, so far we've tried using Thanks! PS: I am using node v18.20.4 and ExampleNo response |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
So polling is only true on the schedule that you have set. Running is if start has been called and stop hasn't. Does that make sense? |
Beta Was this translation helpful? Give feedback.
-
Thanks for your response! I appreciate your clarification on isRunning and isPolling. However, I'm still a bit unsure about how to determine if the consumer is healthy and connected to the queue. We don't use Could you please explain what indicators we should look for to confirm the consumer's health? Based on that, which status—isRunning or isPolling—would be best for our Kubernetes health checks? |
Beta Was this translation helpful? Give feedback.
Hey, sorry for the delayed response, I had a lot of notifications.
So is running is the check that will tell you if the consumer is running and hasn't stopped, that can be used as an indication of health, it's not an indication of full health though to note, only that the consumer is running.
Is polling is only an indication of when the consumer is polling, this happens on a schedule based on the configuration provided and the defaults.