You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by Andrew Lee <li...@gmail.com> on 2015/04/03 05:34:22 UTC

storm-starter RollingTopWords emitFrequencyInSeconds?

Based on code in RollingTopWords, the emitFrequencyInSeconds of
RollingCountBolt, IntermediateRankingsBolt and TotalRankingsBolt are 3, 2,
2 respectively. And the windowLengthInSeconds is 9 in
emitFrequencyInSeconds.
So can i assume that the app's target is getting the topK of last 9 seconds
every 3 seconds. If the assumption is correct, why IntermediateRankingsBolt
and TotalRankingsBolt emit the result every 2 seconds instead of 3 seconds.
I'm confused by this.
Any help is appreciated.

Thanks,
Andrew Lee