Skip to main content

Read Stream

The Read Stream activity reads data from a streaming source.

Configuring the Read Stream Activity

To configure the Read Stream activity, fill in the required fields in the activity panel.

Configuration

FieldRequiredDescriptionExample
NameRequiredSpecify the name for this activity.MyActivity
DescriptionOptionalSpecify the description for this activity.Reads a file from S3
Stream TypeRequiredSelect Storage Provider Type Options: Azure Blob Storage, SFTP, Local File, AWS S3.Azure Blob Storage, SFTP, Local File
Stream ConnectionOptionalDrag and drop one of the following resources: ABSConnection, SFTPConnection, S3Connection.
File PathOptionalSpecify the file path for this activity.Path to file including container or bucket
File NameOptionalSpecify the file name for this activity.Name of File
Read AllOptionalRead all content at once
MultilineOptionalIf the content is Multiline, selecting this will return multiple records
Line SeparatorOptionalLine Separator helps in identifying distinct records Options: Line Feed (Unix), Carriage Return (Windows), Carriage Return + Line Feed.Line Feed (Unix), Carriage Return (Windows), Carriage Return + Line Feed

Advanced

FieldRequiredDescriptionExample
Format TypeOptionalSelect the format type for this activity. Options: CSV.
Formatter ConfigOptionalDrag and drop a CSVFormat resource from the workspace.

Input

FieldRequiredData TypeDescriptionExample
PathOptionalStringThe path to the file or directory in the stream.Path to file including container or bucket
FileOptionalStringThe name of the file in the stream.Name of File
Read AllOptionalBooleanRead all content at once

Output

FieldRequiredData TypeDescriptionExample
PathOptionalStringThe path to the file or directory in the stream.Path to file including container or bucket
FileOptionalStringThe name of the file in the stream.Name of File
RecordsOptionalArrayAn array of records to be processed.
Has More RecordsOptionalBooleanIf true the stream has more content that has not been read yet