storm-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lawrence Craft <lawrence.cr...@gmail.com>
Subject Emitting tuples anchored to already-acked tuples
Date Fri, 03 Nov 2017 13:27:48 GMT
Hi all,

Out of curiosity, what happens if a bolt emits tuples anchored to spout
tuples that have already been acked?

As an example: Spout A emits tuple with ID 123. Bolt B receives and
immediately acks tuple 123, but keeps it around in memory. At a later
point, something triggers Bolt B to emit a tuple anchored to the original
spout tuple 123. This new tuple is received by Bolt C.

What happens if Bolt C fails this tuple? Or acks it? Will the spout receive
a duplicate ack (or an ack followed by a fail)?

Thanks,

Lawrence

Mime
View raw message