Joining Multiple Streams
Joining multiple streams is an important SAM capability. You accomplish this by adding the Join processor to your stream application. You can join on multiple streams using one of two concepts available in the Window Type filed:
-
Processing Time – Represents window based on when the event is processed by SAM
-
Event Time – Represents the window based on the timestamp of the event.
For the purposes of this reference application, use processing time.
This section shows you how to configure a Join processor that joins the truck geo-event stream with the speed event stream, based on Requirement 5 of the use case.
- Drag a Join processor onto your canvas and connect it to a source.
- Double-click the Join tile to open the Configuration dialog.
- Configure the Join processors according to the example below.