Counting ticks with modulo operator is the ideal way to do it. Here's an example for you: https://github.com/Symantec/hendrix/blob/current/hendrix-alerts/src/main/java/io/symcpe/hendrix/alerts/SuppressionBolt.java#L136
Some slides explaining what's going on: http://www.slideshare.net/HadoopSummit/in-flux-limiting-for-a-multitenant-logging-service Hope this helps! On Sun, Dec 18, 2016 at 7:15 PM, Chen Junfeng <[email protected]> wrote: > Currently I use > > conf.put(Config.TOPOLOGY_TICK_TUPLE_FREQ_SECS,1); > > > > to create timer task where it sends a timer tick tuple every one seconds > as I set. . > > > > But now I need to create multiple timer tasks, for instance I need to be > reminded every one second, ten seconds, one minutes on one topology. How > should I do it? > > > > Thanks! > > > > Junfeng Chen > > > > >
