You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Chris Riccomini (JIRA)" <ji...@apache.org> on 2013/08/20 18:31:52 UTC

[jira] [Created] (SAMZA-28) Use gauge instead of counter for bufferedMessageCountMap

Chris Riccomini created SAMZA-28:
------------------------------------

             Summary: Use gauge instead of counter for bufferedMessageCountMap
                 Key: SAMZA-28
                 URL: https://issues.apache.org/jira/browse/SAMZA-28
             Project: Samza
          Issue Type: Bug
          Components: container
    Affects Versions: 0.6.0
            Reporter: Chris Riccomini
             Fix For: 0.7.0


The bufferedMessageCountMap variable in BlockingEnvelopeMapMetrics currently uses counters to keep track of the number of messages in a SystemStreamPartition's queue. bufferedMessageCountMap is meant to say, "There are N messages buffered for SystemStreamPartition X at time T." This variable does not do this, since we are using a counter, not a gauge. We should switch the map to uses Gauge instead of Counter. We'll need to update decBufferedMessageCount and incBufferedMessageCount accordingly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira