storm-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stig Rohde Døssing <>
Subject Re: Reliability in storm 0.9.4
Date Mon, 12 Mar 2018 20:33:07 GMT
I'm basing this off of later Storm versions, because I'm not familiar with
0.9, so buyer beware. As far as I know the logic hasn't changed though, so
I'll be linking to the 2.0.0 classes.

1. No, you don't need to ack or fail unanchored tuples. Storm isn't keeping
track of those tuples at all. Here's the OutputCollector implementation for
bolts in 2.0.0
As you can see, if you call ack or fail on a tuple with no anchors, nothing
really happens.

2. If the tuple is anchored at the spout (i.e. the spout emitted the tuple
with a message id), then yes. If you want to disable acking globally, you
can do so by setting topology.acker.executors to 0

2018-03-12 20:34 GMT+01:00 Shubham Gupta <>:

> Hi,
> I had a few doubts regarding storm reliability mechanism :
> - Do we need to ack (or fail) unanchored tuples ?
> - Is is always necessary to ack or fail every tuple received from the
> spout in the first bolt to avoid Out of Memory error in Storm ?
> Thanks in advance
> Regards
> Shubham Gupta

View raw message