Striim 3.9.4 / 3.9.5 documentation

Step 1: acquire data

The flow starts with a source:

posapp_02.png

Double-clicking CsvDataSource displays its properties:

posapp_03.png

This is the primary data source for this application. In a real-world application, it would be real-time data. Here, the data comes from a comma-delimited file, posdata.csv. Here are the first two lines of that file:

BUSINESS NAME, MERCHANT ID, PRIMARY ACCOUNT NUMBER, POS DATA CODE, DATETIME, EXP DATE, 
CURRENCY CODE, AUTH AMOUNT, TERMINAL ID, ZIP, CITY
COMPANY 1,D6RJPwyuLXoLqQRQcOcouJ26KGxJSf6hgbu,6705362103919221351,0,20130312173210,
0916,USD,2.20,5150279519809946,41363,Quicksand

In Striim terms, each line of the file is an event, which in many ways is comparable to a row in a SQL database table, and and can be used in similar ways. Click Advanced to see the DSVParser properties:

posapp_04.png

The True setting for the header property indicates that the first line contains field labels that are not to be treated as data.

The "Output to" stream CsvStream uses the WAEvent type associated with DSVParser:

240_posapp_1_03.png

The only field used by this application is "data", an array containing the delimited fields.