<div dir="ltr">hmm,<div>Got it. </div><div>The only thing I am confused about is regarding \</div><div><span style="font-family:arial,sans-serif;font-size:13px">" making acking behave the same as moving the consumer index thing back in kafka."<br>
</span>How exactly?</div><div><br></div><div>Thanks.</div><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Feb 10, 2014 at 3:35 PM, Simon MacMullen <span dir="ltr"><<a href="mailto:simon@rabbitmq.com" target="_blank">simon@rabbitmq.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On 10/02/14 13:32, rails wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Lets say my consumer acked and due to some strange reason did not handle<br>
the message well. Is there a technic to go over message again?<br>
</blockquote>
<br></div>
Your consumer should not ack messages until it has handled them - that's what explicit acking is for; not just to say "I got this message" but "I got this message and have handled it".<div class="">
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Requirements :<br>
1. same order.<br>
2. continue receiving new messages and placing them last in the queue?<br>
</blockquote>
<br></div>
Unacked messages are returned to the queue in order. So your consumer will always receive messages in order, regardless of failures, as long as:<br>
<br>
* It is the only consumer on the queue<br>
* It always acknowledges messages in order<br>
<br>
That will making acking behave the same as moving the consumer index thing back in kafka.<br>
<br>
Cheers, Simon<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Simon MacMullen<br>
RabbitMQ, Pivotal<br>
</font></span></blockquote></div><br></div>