[rabbitmq-discuss] Consumer stop to receive messages but continue listening queue problem.
bmurphy1976 at gmail.com
Fri Mar 26 20:15:31 GMT 2010
Make sense, although we don't care about the order so it doesn't affect us
On Fri, Mar 26, 2010 at 1:11 PM, Matthew Sackman <matthew at lshift.net> wrote:
> On Fri, Mar 26, 2010 at 08:33:19AM -0500, Bryan Murphy wrote:
> > Another technique we use:
> > Start one consumer.
> > Start your other consumers.
> > Restart the first consumer.
> > This let's you keep the high prefetch settings while still getting the
> > messages to distribute more evenly.
> I would not recommend that at all - you're likely to get messages in
> different orders with this scheme. QoS is much better idea, or, use
> channel.flow from the client (may only work in newer-than-1.7.2 - can't
> remember when it appeared) to prevent any messages being sent out
> *before* issuing the basic.consume.
> You could then have either a delay or some signal through some other
> exchange and queues (and channel) to get the clients to drop the
> channel.flow and start consuming.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss