File
Overview
The file transport provides the ability to stream processed events to a file. This transport is ideal for use case validation, testing, and legacy processing software. Various file formats are supported along with file sizes.
Example
This basic example leverages the default setting resulting in events published as a CSV file to /home/app/data/output/analytics/nasdaqAnalytic.csv
Attributes schema
Available configuration parameters
Attribute | Description | Data Type | Required |
---|---|---|---|
filename | file name to use | String | |
path | Absolute path files will be written too | String | |
maxFilesize | Maximum file size before new file is created | Long Default: 67108864 (64MB) | |
batchSize | Number of events to trigger a file write process | Integer Default: 1024 | |
formatter | Target format of event data |
Last updated