I have a queue of messages, for a given message that is being popped off the rabbitmq queue, I want to what Nth message this is from the queue. It would be nice if there was a counter somewhere that was able to tell me what is the position number of this message in a given queue.
This is so that if multiple workers pull messages from the queue, they will get the position of each message. Worker 1 grabbed the 29th message, worker 2 grabbed 31th message, and worker 3 grabbed the 30th message etc.