nsqio / go-nsq

The official Go package for NSQ
MIT License
2.59k stars 444 forks source link

How to check how many message in queue? #264

Closed bakatest-me closed 5 years ago

ploxiln commented 5 years ago

For a consumer using the standard consumer api, there is no way to check this. As an operator, you can query these statistics from each nsqd at http://nsqdhost:4151/stats?format=json, or from nsqadmin (which can query them from all nsqd for you).