Comment on page
The CSV agents allow you to include data from CSV files in your data stream.
A comma-separated values (CSV) file is a delimited plain text file that uses a comma to separate values. Each row of the file is a data record. Each record consists of one or more fields, separated by commas. These files are often used for exchanging data between different applications.
The Listener allows you to return the contents of a CSV file one row at a time to simulate events in a data stream. You can configure whether the events loop or cease once the end of the file is reached.
The Context Provider allows you to read a CSV file and output the entire contents to the data stream for contextual data. All rows in the file are made available to the output endpoint as individual events when the data cache is refreshed during runtime.
The Action Agent allows you to write the events in a data stream to a CSV file. This is useful when testing a data stream or to send data to another system for processing. You can configure whether a new file is created daily and whether the contents are overwritten.
If the events passed to the Action Agent require further processing in the data stream, split the data stream beforehand with a Broadcast Transformation.
The CSV files used in these Agents must be accessible to Stream Host via File System.