Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.1.0
-
None
Description
From code review for STORM-1945, there's an idea to change JSON response of "Topology Lag" API to keyed by topic, partition number.
https://github.com/apache/storm/pull/1541#issuecomment-230983140
I think also make result keyed by spout id would be good.
Here's sample JSON of output after this issue is resolved.
{ "spout1":{ "spoutId":"spout1", "spoutType":"KAFKA", "spoutLagResult":{ "topic":{ "partition0":{ "consumerCommittedOffset":1175610, "logHeadOffset":5634192, "lag":4458582 }, "partition2":{ "consumerCommittedOffset":1175610, "logHeadOffset":5634192, "lag":4458582 } }, "topic2":{ "partition0":{ "consumerCommittedOffset":1175610, "logHeadOffset":5634192, "lag":4458582 }, "partition2":{ "consumerCommittedOffset":1175610, "logHeadOffset":5634192, "lag":4458582 } } } } }
Attachments
Issue Links
- breaks
-
STORM-1959 KafkaPartitionOffsetLag.java does not have license
- Resolved
- links to