O'Reilly logo

Learning Storm by Anand Nalya, Ankit Jain

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

A transactional topology

As mentioned in the definition of the non-transactional topology, Trident processes tuples in a batch, but this doesn't define what's in each batch. In the case of a transactional topology, a transactional spout guarantees what's in each batch. A transactional spout has the following characteristics:

  • Each batch is assigned a unique transactional ID (txid). In the case of failure, the entire batch is replayed. Hence, replays of the failed batch will contain the same set of tuples as the first time the batch was emitted. The txid transactional ID of the failed batch remains the same as the first time.
  • Tuples of one batch are not mixed with tuples of another batch. Hence, overlaps of tuples between batches are not allowed. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required