1
votes

I am working on developing an application that uses Azure Service Bus Queues for distributing messages among the consumers. All my consumers are listening on a single queue. Here are few things that I want to clarify. Azure documentation on my concerns provide far less information

  1. If a single queue is used for all my consumers, will the deliveries happen in round robbin fashion like in RabbitMQ
  2. Is there an Azure service bus equivalent to RabbitMQ basicQos
  3. How to handle manual acks from consumers. The Azure documentation uses a callback-based approach which is not what I need in my case.

Thanks in advance

1

1 Answers

2
votes

If a single queue is used for all my consumers, will the deliveries happen in round robbin fashion like in RabbitMQ

Yes.
Sending 10 messages to a queue with two consumers I get: enter image description here

Is there an Azure service bus equivalent to RabbitMQ basicQos

Which features of RabbitMQ basicQos you are looking for?

How to handle manual acks from consumers. The Azure documentation uses a callback-based approach which is not what I need in my case.

You can use IReceiverClient.CompleteAsync (marks the message as being consumed) and IReceiverClient.AbandonAsync (unlocks the message and makes it available to be received again)