In this activity you will be combining a stream that represents a request for information with a window containing trade information in order to provide the price and time of the most recent trade for the specified stock symbol.
You will be modifying the StockFilter project you worked with in the State Persistence tutorial.
Follow these steps to open the StockFilter project and to remove the stream that you no longer need for this tutorial (if you are continuing immediately after completing the previous tutorial, you can skip the first three steps):
Follow these steps to create a query that uses data from two sources:
In terms of the example, TradesWindow maintains information about the most recent trade for each stock. A row arriving on TradeInquiries is a request for information about the most recent trade of a specific stock. Rows published to TradeResults contain the symbol of the stock, the price of that stock for the most recent trade, and a timestamp of when the row representing that trade arrived in the window.