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

Stig Rohde Døssing commented on STORM-2783:
-------------------------------------------

Being flexible about this would be good. Even if spout lag makes sense for many 
spouts, the metrics probably won't look the same. I'm not sure Kafka's idea of 
lag (per-topic-partition offset lag) fits all spouts.

Should the metrics just be shown i Storm UI as a generic table, or do we want 
to include custom code for each spout in the vein of how storm-kafka-monitor 
works?

> De-couple "Spout Lag" metrics on Storm UI from Kafka Spout and 
> StormKafkaMonitor
> --------------------------------------------------------------------------------
>
>                 Key: STORM-2783
>                 URL: https://issues.apache.org/jira/browse/STORM-2783
>             Project: Apache Storm
>          Issue Type: Improvement
>          Components: storm-core
>    Affects Versions: 2.0.0, 1.1.1
>            Reporter: Stephen Powis
>
> As a developer of a spout, I'd love to be able to publish lag metrics to the 
> storm UI.  After digging into the source code for how the UI interacts with 
> storm-kafka-monitor to get these metrics, it appears to be strongly coupled.  
> I believe that the concept of "Spout Lag" extends beyond the scope of just 
> consuming from Kafka. 
> I'd like to propose the idea of restructuring how these metrics are queried 
> by StormUI to a way that allows developers of other spouts to be able to 
> "plug into" the UI.  The easiest way that springs to mind is to provide an 
> interface that allows developers to code against.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to