Skip to main content

Write Stream

The Write Stream activity writes data to a streaming destination.

Configuring the Write Stream Activity

To configure the Write 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
ResourceRequiredDrag and drop a connection resource from the workspace. Accepts: S3 Connection, ABS Connection, SFTP Connection.
DirectoryOptionalRoot directory for file operations.my-data-bucket
File PathOptionalPath to the file. (mapping supported)data/reports/2024/
File NameOptionalFile name including extension. (mapping supported)report-2024.csv

Advanced

FieldRequiredDescriptionExample
ContentTypeOptionalFormat of the file content Options: CSV, JSON, XML, TEXT, BINARY.CSV, JSON, XML
CompressionTypeOptionalCompression type for the file Options: NONE, ZIP.NONE, ZIP
Select ContextOptionalSelect an authentication context.
Create Directory If Not ExistsOptionalCreate directory if it does not exist.
AppendOptionalAppend to end of file instead of overwriting.
OverwriteOptionalOverwrite if file already exists.
Write New LineOptionalWrite a newline after the data.

Input

FieldRequiredData TypeDescriptionExample
File PathOptionalStringFile path.data/reports/2024/
File NameOptionalStringFile name.report-2024.csv
Create DirectoryOptionalBooleanWhen true, create directory if not exists.
ContentOptionalObjectData content.

Output

FieldRequiredData TypeDescriptionExample
SuccessOptionalBooleanWhether the operation succeeded.false
Bytes WrittenOptionalNumberNumber of bytes written.0