Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.0.0, 1.1.1
-
None
-
None
Description
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.