Stream Selector

The Stream Selector processor passes records to different output streams based on conditions. Define a condition for each output stream that you want to use. All records that do not match a condition pass to a default stream.

When you define a condition, the Stream Selector processor creates an output stream that you connect to downstream stages. The processor passes a record to all streams where it matches the condition.

For example, say you create the following conditions:
Stream 1: State like 'CA'
Stream 2: ID is NULL

When you run the pipeline, records from California pass to Stream 1, records with missing IDs pass to Stream 2, and any records from California with a missing ID pass to both streams. Any records that do not match either condition pass to the default stream.

Use the Stream Selector when you want to create two or more output streams for processing. If you only want to process data that matches one condition, you can use the Filter processor.