I was just wondering because the ShellBolt generates a unique id for anchor recognition (https://github.com/apache/incubator-storm/blob/master/storm-core/src/jvm/backtype/storm/task/ShellBolt.java#L171) where I thought tuple.messageId.hashCode() should also do it, or am I wrong?

Am Mittwoch, 9. Juli 2014 22:23:46 schrieb Danijel Schiavuzzi:
Yes. Check out the Tuple class.

On Wednesday, July 9, 2014, Richard Burkhardt <[email protected]
<mailto:[email protected]>> wrote:

    I'm trying to develop something like a remote bolt. To register
    the tuples to my remote server, I need a unique tuple id to
    ack,fail the a tuple async. Is there something like a unique id
    for each emitted tuple?



--
Danijel Schiavuzzi

E: [email protected] <mailto:[email protected]>
W: www.schiavuzzi.com <http://www.schiavuzzi.com/>
T: +385989035562
Skype: danijels7

Reply via email to