I have a single AMQP queue to consume from and one connection to the broker.
What is the difference between the following two scenarios:
-
Multiple channels each having
prefetch_count=1
simultaneously consuming from the queue. -
Single channel having
prefetch_count=N
consumes from the queue.
I barely feel the difference, yet I think that nacked message will be requeued between all channels in the first scenario while discarded (or dead exchanged) in the second case. In both cases at most N unacked messages can be processed simultaneously. Is it correct? What else?
1