GitHub user HuangWHWHW opened a pull request:
https://github.com/apache/flink/pull/1157
[FLINK-2720][storm-compatibility]Add Storm-CountMetric for storm metrics
I added the Storm-CountMetric for the first step about storm metrics.
1.Do a wrapper `FlinkCountMetric` for the CountMetric.
2.There is a real metric LongCounter in FlinkCountMetric class.
3.Push the RuntimeContext in `FlinkTopologyContext` for registering the
metric.
4.Add a simple ut for the `FlinkCountMetric` .
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/HuangWHWHW/flink FLINK-2720
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/1157.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1157
----
commit 13c696beef318ef947b0e616fa9e29258bcbbf86
Author: HuangWHWHW <[email protected]>
Date: 2015-09-21T13:22:02Z
[FLINK-2720][storm-compatibility]Add Storm-CountMetric for storm metrics
----
---
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.
---