I am currently testing an application which uses ActiveMQ 5.15.10 and persistent messages. The messages come in from one producer and get dispatched to 10 consumers. The dispatching is based on message groups to ensure data consistency.
I have configured a prefetching limit of 100 and a message group bucket size of 1024. Maxpagesize is 200. Over time the inflight count starts to decrease and increase again in waves (see attached screenshot<https://i.stack.imgur.com/suvc6.png>). Looks like a sawtooth pattern. I can extend the time until it starts by increasing the maxpagesize. When it starts, the consumers don't receive any messages before they finished processing all of the prefetched ones - instead of continuously receiving messages. I don't see any limits on infrastructure metrics. Has anyone seen such a pattern before and has a hint how I can find the root cause and mitigate that behavior? Thx, Ralf