reiabreu opened a new pull request, #8047: URL: https://github.com/apache/storm/pull/8047
## What is the purpose of the change PR opened to address: https://github.com/apache/storm/issues/8019 Fixing a regression introduced by https://issues.apache.org/jira/browse/STORM-3782 This PR keeps the same logic introduced in https://github.com/apache/storm/issues/8019, but with a important change: - the topic level metrics and partition level metrics are calculated on the same method and, importantly, topic level metrics are reset every time `getMetrics` is executed. ## How was the change tested Created the following test class: /external/storm-kafka-client/src/test/java/org/apache/storm/kafka/spout/metric2/KafkaOffsetPartitionAndTopicMetricsTest.java -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
