A stream is a series of timestamped events that have the same schema.
Assume that a stream has the following characteristics:
Each event represents a stock transaction.
The schema consists of the stock symbol and the stock price.
The following table shows an example of the events in the stream during a brief interval of time.
Symbol |
Price |
Timestamp |
---|---|---|
ADBE |
21.60 |
2008-12-15-T10:30:02:899-05.00 |
AMZN |
50.12 |
2008-12-15-T10:32:44:674-05.00 |
ATT |
23.88 |
2008-12-15-T10:35:17:198-05.00 |
ADBE |
21.70 |
2008-12-15-T10:38:23:257-05.00 |