You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Justin Bertram (Jira)" <ji...@apache.org> on 2021/08/09 19:28:00 UTC

[jira] [Comment Edited] (ARTEMIS-3416) Message count is not zero even after all messages are consumed and acknowledged

    [ https://issues.apache.org/jira/browse/ARTEMIS-3416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17396232#comment-17396232 ] 

Justin Bertram edited comment on ARTEMIS-3416 at 8/9/21, 7:27 PM:
------------------------------------------------------------------

Did the log you attached cover the entire time of the test (i.e. message count = 0 at the start and then 5 at the end)? If so, I see acks missing for the following messages:

* 6505
* 6542
* 6580
* 6748

Can you confirm your application acknowledged these messages because there's no record that the broker received an {{ACK}} frame for these messages.

Could you provide a way to reproduce the behavior you're seeing?


was (Author: jbertram):
Did the log you attached cover the entire time of the test (i.e. message count = 0 at the start and then 5 at the end)? If so, I see acks missing for the following messages:

* 6505
* 6542
* 6580
* 6748

Could you provide a way to reproduce the behavior you're seeing?

> Message count is not zero even after all messages are consumed and acknowledged
> -------------------------------------------------------------------------------
>
>                 Key: ARTEMIS-3416
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3416
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 2.16.0
>         Environment: Single artemis instance running as a K8s deployment with single replica on CentOS 7.9
>            Reporter: Amit Herlekar
>            Priority: Minor
>         Attachments: artemis.zip, image-2021-08-06-17-19-37-446.png, image-2021-08-06-17-20-45-445.png, image-2021-08-06-17-24-45-732.png, image-2021-08-09-23-27-22-180.png, image-2021-08-09-23-29-38-568.png, image-2021-08-09-23-31-51-213.png
>
>
> We have switched from ActiveMQ Classic to ActiveMQ Artemis. Thanks to the nice documentation on github that we are able to containerize it and deploy it as a K8s deployment for [KEDA|https://keda.sh/docs/2.4/scalers/artemis/].
> Coming to the issue, we are using STOMP using stomp.py python module. The ACK-mode is set as client-individual and consumerWindowSize = 0 on the connection. We are promptly acknowledging the message as soon as we read it. 
> The problem is, sometimes, the message count in the web console does not become zero even after all the messages are actually consumed and acknowledged. When I browse the queue, I don't see any messages in it. This is causing KEDA to spin up pods unnecessarily. 
> Please refer to the screenshots attached. 
> As a temporary arrangement, can you let me now how to make the delivery message count = 0.
> !image-2021-08-06-17-24-45-732.png|width=638,height=571!
> !image-2021-08-06-17-19-37-446.png|width=811,height=674!
> !image-2021-08-06-17-20-45-445.png|width=671,height=300!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)