Github user troyding commented on the pull request:
https://github.com/apache/incubator-storm/pull/118#issuecomment-43584255
Thank you for your advice @revans2 . I have added a new class named
ExclamationTopologyWithMetrics to reproduce the error. The newly added class is
based on the existed ExclamationTopology class. For testing, I set the
parallelism of the bolt named "exclaim1" to 3, and its task number to 6, and
the parallelism and task number of the second bolt named "exclaim2" to 2 and 6,
respectively. After running the topology, I got the following results:

As shown in the Figure, the task "4:exclaim1" has repeated twice of the
metric reporting, and the task "11:exclaim2" has repeated three times, as we
expected.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---