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

Justin Bertram commented on ARTEMIS-3416:
-----------------------------------------

For what it's worth, you're using the wrong header for flow control on your 
{{SUBSCRIBE}} frame. You're using {{consumerWindowSize}} and you should be 
using {{consumer-window-size}} as indicated in [the 
documentation|https://activemq.apache.org/components/artemis/documentation/latest/stomp.html#flow-control].

> 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, artemis.zip, 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, 
> image-2021-08-10-15-49-59-960.png, image-2021-08-10-15-52-23-921.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)

Reply via email to