You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@storm.apache.org by Jason Jackson <ja...@gmail.com> on 2014/04/07 00:04:04 UTC

Re: Emitting/Acking in a Bolt

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 <ph...@gmail.com>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!
>