<div dir="ltr">While using rabbitmq recently I was surprised to discover there is no reliable way to introspect the status of a given queue. Specifically the amount of pending items in a queue. Because items are sent to consumers in batch, if I do a passive declare on a queue my message count is 0 even though I may have 1000 items waiting in the TCP buffer of my consumer. This becomes a big issue if my items are taking more than 5 seconds to complete. The reason I want this information is so that I can intelligently add more consumers as load fluctuates.<br>
<br>The simplest way to solve this issue in my mind would be for rabbitmq to be able to return the number of un-acked items in a given queue. Has there been any discussion of this? My current approach is to make Get requests instead of consuming a queue.<br>
<br>Also, rabbitmq kicks ass!! Thanks for all the hard work.<br><br>Chris<br></div>