You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/03/08 08:40:01 UTC

[jira] [Work logged] (AMQ-6636) Pending Queue Size of durable subscribers isn't correct - or message expiration doesn't work

     [ https://issues.apache.org/jira/browse/AMQ-6636?focusedWorklogId=562211&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-562211 ]

ASF GitHub Bot logged work on AMQ-6636:
---------------------------------------

                Author: ASF GitHub Bot
            Created on: 08/Mar/21 08:39
            Start Date: 08/Mar/21 08:39
    Worklog Time Spent: 10m 
      Work Description: lucastetreault commented on pull request #230:
URL: https://github.com/apache/activemq/pull/230#issuecomment-792580571


   Can one of the admins verify this patch?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 562211)
    Remaining Estimate: 0h
            Time Spent: 10m

> Pending Queue Size of durable subscribers isn't correct - or message expiration doesn't work
> --------------------------------------------------------------------------------------------
>
>                 Key: AMQ-6636
>                 URL: https://issues.apache.org/jira/browse/AMQ-6636
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.14.4
>         Environment: Windows 7, 64 Bit, Java 1.8.0-101
>            Reporter: Andreas Ländle
>            Priority: Major
>         Attachments: 2017-03-22_12h28_44.png, activemq.xml, activemq.xml.patch
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> I use expireMessagesPeriod="100" for topics and the timestamp-plugin with a TTL of 1s. 
> If I publish messages the "Pending Queue Size" of a offline duracle subscriber never reaches 0 (in real life it increases steadily).
> Steps to reproduce:
> a) Start a clean/fresh activemq 5.14.4 broker instance with the attached activemq.xml configuration (or adapt the default configuration to use expireMessagesPeriod and timeStampBrokerPlugin - see also patch file)
> b) Use "ant consumer -Durl=tcp://localhost:61616 -Dtopic=true -Dsubject=MYSUB -Ddurable=true" to create topic and durable subscriber
> c) Press ctrl+c to exit the consumer - and create the offline durable subscription
> d) Publish 2000 message via "ant producer -Ddurable=true -Durl=tcp://localhost:61616 -Dtopic=true -Dsubject=MYSUB"
> Expected result:
> "Pending Queue Size" of the corresponding Offline Durable Topic Subscriber should reach 0 (at least after a few seconds)
> Actual result:
> "Pending Queue Size" shows a value like 1752 and never decreases (see attached screenshot).
> Please let me know if you are able to reproduce the problem and if/how I can contribute.



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