activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arthur Naseef (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMQ-5660) Dequeue count for Topics does not increase for durable subscribers
Date Fri, 13 Mar 2015 21:25:38 GMT

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

Arthur Naseef commented on AMQ-5660:
------------------------------------

Because of the nature of topics (being a broadcast) dequeue count is a little tricky.  For
example, how many times do you count a message consumed by multiple subscribers?  Once after
they all have consumed it (and what if one subscriber drops before acking the message)?  Once
per subscriber (leading to dequeue growing faster than enqueue)?

And what about counting dequeue on non-durable subscriptions?  For inflight messages or only
acked messages?  Messages published to a Topic with no consumers?

In other words, the meaning of dequeue on a Topic itself is hard to nail down, and even if
it were nailed down, it would be hard to use reliably.  Also keep in mind that ActiveMQ does
not store messages on Topics, but instead stores them on the subscriptions.

Therefore, I find the best method of watching enqueue and dequeue counts for Topics is looking
at individual subscriptions.

> Dequeue count for Topics does not increase for durable subscribers
> ------------------------------------------------------------------
>
>                 Key: AMQ-5660
>                 URL: https://issues.apache.org/jira/browse/AMQ-5660
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.6.0
>         Environment: 
>            Reporter: Jessy
>
> I upgraded my ActiveMQ from 5.2.1 to 5.6.0.
> I have durable topic subscribers .
> I see the "subcribers" tab in activemqConsole and i find that the these subscribers are
able to consume the messages from the topic . 
> The "subcribers" tab shows up all the counter's correctly - the dispatched counter equals
enqueue counter and dequeue counters.
> However, When i check the topic's enque and dequeue count in "Topics" tab, I see the
dequeue count is always zero and not increased ,even thought the subcribers are reported to
consume them as seen in the "subcribers" tab.
> I did not face this issue with my previous version of ActiveMQ - version 5.2.1. 
> Version ActiveMQ 5.2.1 works very good in showing up the correct dequeue count for durable
topic subscribers.
> My subscribers are on different versions of ActiveMQ.
> Please advise the steps that i need to consider get the dequeue counter match with the
enqueue counter .
> I came accross exactly the same issue on Jira for version 5.8.0.  -- https://issues.apache.org/jira/browse/AMQ-4965
> If this is a bug to be fixed, please help us get a fix for this.
> Thanks 
> Jessy



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message