Charles, when a component received a pause control tuple, what should it do with incoming data tuples? should it fail/ack them? or wait forever? none of these seems good design
On Mon, Nov 7, 2016 at 10:59 AM, [email protected] <[email protected]> wrote: > Hi Bande, > You may set a "control bolt", and let all the other spout/bolt group from > this "control bolt". Then what you need is just to send something like > "control tuple" from "control bolt" to pause or resume other components. > Hope this will help you. > > ------------------------------ > *Best regards!* > *Charles.Zhu* > > > *From:* Mohsen Bande <[email protected]> > *Date:* 2016-11-07 15:17 > *To:* user <[email protected]> > *Subject:* how to pause a topology > Hi Everyone, > i know that it is possible to deactivate the spouts > is there any way to pause all spout/bolts? i.e. keep waiting tuples from > processing? > i don't wan't to discard them, as some time later i need to resume the > topology > Thank you > >
