NSQ trendrr: is it possible to get the size of the customer queue?
I am using these classes at the moment:
- com.trendrr.nsq.NSQProducer
- com.trendrr.nsq.NSQConsumer
My service needs to know how many messages are currently in the queue because there is a "when it will be done" estimation method.
Does anyone know how to get the actual queue size? Perhaps with some other Java implementations?
What I found:
- https://github.com/brainlag/JavaNSQClient (the consumer has some getTotalMessages () method, but it is a complete msg counter processed)
+3
source to share
No one has answered this question yet
Check out similar questions: