[
https://issues.apache.org/jira/browse/STORM-1723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15251757#comment-15251757
]
ASF GitHub Bot commented on STORM-1723:
---------------------------------------
GitHub user HeartSaVioR opened a pull request:
https://github.com/apache/storm/pull/1352
STORM-1723 (1.x) Introduce ClusterMetricsConsumer
* ClusterMetricsConsumer publishes cluster-side related metrics into
consumers
* like MetricsConsumer for topology metrics
* Users can implement IClusterMetricsConsumer and configure to cluster
conf. file to take effect
* Please refer conf/storm.yaml.example for more details on configuring
* Nimbus should be launched with additional jars which are needed for
IClusterMetricsConsumer
* Also did some refactor to nimbus.clj
I don't address this for master yet since ui/core.clj is not converted to
Java but stats.clj is converted to Java.
If we want to move some methods in this patch to stats.clj, I'll follow up
reviews, and start working on crafting patch against master when patch is ready
to merge.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/HeartSaVioR/storm STORM-1723-1.x-branch
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/storm/pull/1352.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 #1352
----
commit 02a6764b766c85a19bb38dc971be8084c88a4508
Author: Jungtaek Lim <[email protected]>
Date: 2016-04-21T11:40:51Z
STORM-1723 Introduce ClusterMetricsConsumer
* ClusterMetricsConsumer publishes cluster-side related metrics into
consumers
* like MetricsConsumer for topology metrics
* Users can implement IClusterMetricsConsumer and configure to cluster
conf. file to take effect
* Please refer conf/storm.yaml.example for more details on configuring
* Nimbus should be launched with additional jars which are needed for
IClusterMetricsConsumer
* Also did some refactor to nimbus.clj
----
> Introduce ClusterMetricsConsumer
> --------------------------------
>
> Key: STORM-1723
> URL: https://issues.apache.org/jira/browse/STORM-1723
> Project: Apache Storm
> Issue Type: New Feature
> Components: storm-core
> Affects Versions: 2.0.0, 1.0.1
> Reporter: Jungtaek Lim
> Assignee: Jungtaek Lim
>
> NOTE: This issue is already discussed shortly. Please refer
> [here|http://mail-archives.apache.org/mod_mbox/storm-dev/201604.mbox/%3CCAF5108hDCcMKxLXKUYLReOoKkNNdgW2YudweR+mKr=1hlsl...@mail.gmail.com%3E]
> for details.
> This issue focuses to introduce ClusterMetricsConsumer and provide interface
> to let users plugin their consumers.
> ClusterMetricsConsumers will be attached to Nimbus, and leader of Nimbus will
> push cluster related metrics to ClusterMetricsConsumer.
> Requirements of ClusterMetricsConsumer are here:
> - Only leader of Nimbus should publish cluster metrics to consumer.
> - Nimbus shouldn't be affected by crashing or heavy latency on consumer.
> - Consumer should have resilient when crashing or Nimbus should take care of.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)