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

Chapter 5. Exploring High-level Abstraction in Storm with Trident

In the previous chapter, we learned how we can set up a cluster of Kafka, how we can write the Kafka producer, integration of Kafka and Storm, and so on.

In this chapter, we will cover the following topics:

  • Introducing Trident
  • Trident's data model
  • Trident functions, filters, and projections
  • Trident repartitioning operations
  • Trident aggregators
  • Trident's groupBy operation
  • A non-transactional topology
  • A sample Trident topology
  • Trident's state
  • Distributed RPC
  • When to use Trident

Introducing Trident

Trident is a high-level abstraction built on top of Storm. Trident supports stateful stream processing, while pure Storm is a stateless processing framework. The main advantage of using Trident is that ...

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