Chapter 3. Trident Topologies and Sensor Data

In this chapter, we will explore Trident topologies. Trident provides a higher-level abstraction on top of Storm. Trident abstracts away the details of transactional processing and state management. Specifically, Trident provides batching of tuples into a discrete set of transactions. Additionally, Trident provides abstractions that allow topologies to perform operations on the data such as functions, filters, and aggregations.

We will use the sensor data as an example to gain a better understanding of Trident. Often, the sensor data forms streams that are read from many different locations. Some traditional examples include the weather or traffic information, but the pattern extends to a wide range ...

Get Storm Blueprints: Patterns for Distributed Real-time Computation now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.