rabbitmq-dump-queue icon indicating copy to clipboard operation
rabbitmq-dump-queue copied to clipboard

Feature request: last N messages

Open gamesbook opened this issue 9 years ago • 4 comments

I am not sure this is possible, but - is it possible to extract the most recent N messages from a queue?
So, if I had downloaded 20,000 & then 5,000 new ones arrived afterwards; then this would avoid having to download all of the previous ones again.

gamesbook avatar Jul 03 '16 16:07 gamesbook

Thanks for the suggestion @gamesbook ! Unfortunately, I don't think RabbitMQ supports access to messages which are not at the head of the queue. Do you know about such option in the protocol / API? Through the RabbitMQ management GUI?

dubek avatar Jul 04 '16 01:07 dubek

@dubek No, I do not know of such a protocol - I was being hopeful that there was such a status as "last in" for a message. I will need to rethink my strategy on the project.

gamesbook avatar Jul 04 '16 08:07 gamesbook

@gamesbook I'm not sure if it helps, but take a look at http://qdb.io/

dubek avatar Jul 06 '16 12:07 dubek

Looks interesting, thanks.

On 6 July 2016 at 14:55, Dov Murik [email protected] wrote:

@gamesbook https://github.com/gamesbook I'm not sure if it helps, but take a look at http://qdb.io/

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/dubek/rabbitmq-dump-queue/issues/4#issuecomment-230762630, or mute the thread https://github.com/notifications/unsubscribe/AAVm62JD2I6GUJKmLIn51sIlNqpr2nS6ks5qS6WkgaJpZM4JD5rx .

gamesbook avatar Jul 07 '16 07:07 gamesbook