The storm metrics consumer gets both system and user defined metrics. The task
hook will only get system metrics. Also if you do heavy processing in the hook
it can impact the performance of your topology. If you do heavy processing in
the metrics consumer it will have less of an impact.
- Bobby
On Thursday, January 22, 2015 8:58 PM, fang <[email protected]> wrote:
When i want to monitor storm topology, i find there are two approach use
BasicTaskHook or storm metrics(IMetricsConsumer) which can do it. But which
approach i should use? what the different of BasicTaskHook and storm
metrics(IMetricsConsumer)? Thank you!