[rabbitmq-discuss] Fwd: Batch Acknowledge
davide.maestroni at gmail.com
Tue Oct 26 16:14:13 BST 2010
yes, I finally decided to handle the reordering in the consumer. Anyway,
thank you for the 'redelivered' flag hint, it could be very helpful.
On Tue, Oct 26, 2010 at 4:35 PM, Matthias Radestock
<matthias at rabbitmq.com>wrote:
> Davide Maestroni wrote:
>> My problem here is that, in the architecture I have to implement, I could
>> receive a lot of messages in a very short time, so if the broker re-enqueues
>> not acknowledged ones they can end up to be re-sent thousands of messages
>> later. Which means that there's no way I can do the re-ordering on the
>> consumer side.
> Could you recover ordering by the producer sticking a sequence number into
> the message? That should work as long as all the produced messages end up in
> the same queue.
> Also note that rabbit sets the 'redelivered' flag on deliveries that have
> been sent to a consumer for the second and subsequent times. This too helps
> in recovering order.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss