Hi! Please have a look at storm signals. Your topology runs forever, but you can use storm signals to activate/deactivate the spout. https://github.com/ptgoetz/storm-signals I hope that it helps. Florin
On Thu, Apr 7, 2016 at 10:13 AM, jinhong lu <[email protected]> wrote: > Although the scene is wired, but I think you can use crontab to run ‘storm > jar’ and ‘storm kill’ every several hours. > But why storm? I believe MR and spark is a better choice for this. > > 在 2016年4月7日,14:47,Siddartha Guthikonda <[email protected]> 写道: > > Maybe trident batch processing would help. You need to keep the batch open > for x hours and then process it. > > On Wed, Apr 6, 2016 at 6:20 PM, wu lihu <[email protected]> wrote: > >> I don't think it's possible ? Since topology will keeping running >> until you kill it. I think you could do it through your Spout ?? >> >> 2016-04-06 22:21 GMT+08:00 Andrey Dudin <[email protected]>: >> > Try Quartz library. >> > >> > 2016-04-04 19:45 GMT+03:00 I PVP <[email protected]>: >> >> >> >> Is it possible to schedule a topology to run every X hours ? How? >> >> >> >> Thanks >> >> >> >> -- >> >> IPVP >> >> >> > >> > >> > >> > -- >> > С уважением Дудин Андрей >> > > >
