[
https://issues.apache.org/jira/browse/SAMZA-28?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chris Riccomini reassigned SAMZA-28:
------------------------------------
Assignee: Chris Riccomini
> 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, metrics
> Affects Versions: 0.6.0
> Reporter: Chris Riccomini
> Assignee: 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