[ 
https://issues.apache.org/jira/browse/STORM-1723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15321983#comment-15321983
 ] 

ASF GitHub Bot commented on STORM-1723:
---------------------------------------

Github user HeartSaVioR commented on a diff in the pull request:

    https://github.com/apache/storm/pull/1460#discussion_r66388145
  
    --- Diff: conf/storm.yaml.example ---
    @@ -46,3 +46,12 @@
     #     parallelism.hint: 1
     #     argument:
     #       - endpoint: "metrics-collector.mycompany.org"
    +
    +## Cluster Metrics Consumers
    +# storm.cluster.metrics.consumer.register:
    +#   - class: "org.apache.storm.metric.LoggingClusterMetricsConsumer"
    +#   - class: "org.mycompany.MyMetricsConsumer"
    +#     argument:
    +#       - endpoint: "metrics-collector.mycompany.org"
    --- End diff --
    
    @harshach 
    This is just an example which is same as above, `Metrics Consumer`. Class 
name could be changed to represent Cluster Metrics but it's just an example so 
I guess that would be fine.


> 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
>             Fix For: 2.0.0, 1.1.0
>
>
> 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)

Reply via email to