storm-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Jackson <>
Subject Re: Emitting/Acking in a Bolt
Date Sun, 06 Apr 2014 22:04:04 GMT
you only need to call ack once per input tuple, after all your emits are
done. so at the end.

On Mon, Mar 31, 2014 at 7:31 AM, Phil Burress <>wrote:

> Quick question aboutacking. If I had a bolt that had a loop; and inside
> that loop it emits a message to the stream for each iteration, should I ack
> immediately after each emit call in the loop? Or do I ack at the end of the
> bolt execution (after the loop is done)?
> Thanks in advance!

View raw message