You can batch acks in transactions.

On Thu, Sep 12, 2019 at 7:14 PM Brian Ramprasad <[email protected]>
wrote:

> Hi,
>
> I am trying to improve the throughput of queue Consumers. At present the
> Consumers are much slower than the Producers resulting in messages building
> up inside a queue. From what I can see(maybe I’m wrong) it looks like
> messages are sent to consumers of a queue one at a time in a round robin
> fashion which is not very efficient. Do you know if there is a way to batch
> messages together when sending to a consumer? For example if I have 2
> consumers, I want to send them batches of 500 msgs each.
> If I need to implement this feature myself, does anyone know which java
> class I need to modify?
>
> Thanks!
> Brian R
>
>
> --
Clebert Suconic

Reply via email to