I think so but I'll check just to be sure. Could that also be the cause of 
messages getting lost in redistribution ?
________________________________
From: Clebert Suconic <clebert.suco...@gmail.com>
Sent: Tuesday, October 4, 2022 4:42 PM
To: users@activemq.apache.org <users@activemq.apache.org>
Subject: Re: Apache Artemis 2.25 message counters differ from actual number of 
messages

do you have your destinations paging? I have a page-counter issue I'm
currently working on.

On Tue, Oct 4, 2022 at 10:32 AM Jelmer Marinus
<jelmer_mari...@hotmail.com> wrote:
>
> Hi,
>
> I have a 3 node Apache Artemis 2.25 symmetrical cluster setup. Each cluster 
> node has a primary and a backup node. Replication is used to keep the primary 
> and backup in sync. Each node runs in a Docker container and uses Java 18 and 
> the ZGC garbage collector.
>
> When I run 3 parallel producers which connect to specific primary nodes and I 
> send (i.e.) 1000 messages to each node the message counters seem to show the 
> wrong results, i.e. 1399, 1000, 1000 for a total number of 3399 messages. I 
> would expect to get a 1000, 1000, 1000 distribution for a total of 3000 
> messages.
> When I start consuming the messages I receive a total of 3000 messages and 
> afterwards the message-counters are back to 0 on each node (0,0,0).
> Sometimes messages also seem to get lost in redistribution. When I consume 
> through one specific node it is possible to get only 2000 of the 3000 
> messages. The remaining 1000 messages do not seem to be on the queues 
> anymore. My consumers do not use message-selectors/filters.
>
> Has anyone else encountered these problems and is there anything we can do 
> about it ?
>
> Best regards,
> Jelmer
>
>
>
>
>
>


--
Clebert Suconic

Reply via email to