Open radoslawlandowski opened 2 months ago
That is broker specific behaviour, what ActiveMQ terms 'preftech': https://activemq.apache.org/components/classic/documentation/what-is-the-prefetch-limit-for
Also relevant may be https://activemq.apache.org/components/classic/documentation/amqp but you may need to ask on the ActiveMQ forum for details on how to control the prefetch per client over AMQP.
Thank you for your help!
I've been playing around with the configuration mentioned by you and also some AWS advisor but broker side configuration does not solve the problem for me :( . He noticed that apart from broker side configuration one can modify the client-side connection url, in the following way:
"ssl://b-995b1978-0142-4749-9f59-92e9e0623b46-1.mq.eu-west-1.amazonaws.com:61617?jms.prefetchPolicy.all=5000"
But I understand in rhea there is no notion of such parameter jms.prefetchPolicy.all ?
Rhea does not have a parameter jms.prefetchPolicy.all because it is a library for the AMQP protocol. However I suspect that there is a way to represent that over the AMQP protocol and if you can determine that (my advice would be to ask the ActiveMQ user group at apache), then rhea should be able to comply with that.
Hello,
(First of all - not sure if i'm misusing rhea library or my broker setup is incorrect)
One ActiveMQ broker, one consumer, durable subscription. We have large groups of messages, up to 10000 messages. Each message is around 1000 bytes long. We accept all messages at once only when the last message in the group has arrived.
I setup the broker locally and when sending 10000 messages in the same group after 2047 messages no meessage is received (or the broker stops sending them) I've been trying to play around with broker settings but none of them change the situation so I'd like to understand if that's rhea library issue
We'd like to receive 10000 messages within a single group.
Receiver setup code:
Broker statement at message sending freeze
The last rhea events around the freeze
Best regards, thank you for that great lib!