concept each sale in category storm

appears as: each sale
Storm Applied: Strategies for real-time event processing

This is an excerpt from Manning's book Storm Applied: Strategies for real-time event processing.

6.2.3. Bolt: look up details for each sale

To send a meaningful email with details about each sale, we need to look up the details for each of the recommended sales. The bolt that does this accepts a tuple containing the customer ID and list of sales IDs, looks up the details for each sale by making a call to an external service, and emits a tuple containing the customer ID and a list of Sale objects containing the details for each sale (see figure 6.5).

Figure 6.5. The bolt for looking up sales details accepts a customer ID and list of sales IDs in its input tuple and emits a tuple containing a customer ID and list of Sale objects containing the details of each sale.