Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-3416

Message count is not zero even after all messages are consumed and acknowledged

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Not A Problem
    • 2.16.0
    • None
    • Broker
    • None
    • Single artemis instance running as a K8s deployment with single replica on CentOS 7.9

    • Important

    Description

      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.

      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.

      Attachments

        1. artemis.zip
          682 kB
          Amit Herlekar
        2. artemis.zip
          682 kB
          Amit Herlekar
        3. artemis.zip
          141 kB
          Amit Herlekar
        4. image-2021-08-06-17-19-37-446.png
          83 kB
          Amit Herlekar
        5. image-2021-08-06-17-20-45-445.png
          30 kB
          Amit Herlekar
        6. image-2021-08-06-17-24-45-732.png
          74 kB
          Amit Herlekar
        7. image-2021-08-09-23-27-22-180.png
          61 kB
          Amit Herlekar
        8. image-2021-08-09-23-29-38-568.png
          100 kB
          Amit Herlekar
        9. image-2021-08-09-23-31-51-213.png
          90 kB
          Amit Herlekar
        10. image-2021-08-10-15-49-59-960.png
          73 kB
          Amit Herlekar
        11. image-2021-08-10-15-52-23-921.png
          75 kB
          Amit Herlekar

        Activity

          People

            Unassigned Unassigned
            amitherlekar Amit Herlekar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: