tAvroStreamInput properties for Apache Spark Structured Streaming
Last updated: 9/30/2026These properties are used to configure tAvroStreamInput running in the Spark Structured Streaming Job framework.
The Spark Structured Streaming tAvroStreamInput component belongs to the File family.
The streaming version of this component is available in Talend Real-Time Big Data Platform and in Talend Data Fabric.
Basic settings
| Properties | Description |
|---|---|
| Define a storage configuration component |
Select the configuration component to be used to provide the configuration information for the connection to the target file system such as HDFS. If you leave this check box clear, the target file system is the local system. The configuration component to be used must be present in the same Job. For example, if you have dropped a tHDFSConfiguration component in the Job, you can select it to write the result in a given HDFS system. |
|
Property Type |
Select the way the file path and the schema will be set.
|
| Schema and Edit schema |
A schema is a row description. It defines the number of fields (columns) to be processed and passed on to the next component. When you create a Spark Job, avoid the reserved word line when naming the fields.
Click Edit schema to make changes to the schema. If you make changes, the schema automatically becomes built-in.
|
| Folder | Browse to or enter the path to the directory with data to read. If the path points to a folder, the component reads all Avro files in that folder. To read from cloud storage, add the corresponding configuration component to the Job. For example, use tS3Configuration for Amazon S3, tGSConfiguration for Google Cloud Storage, or tAzureFSConfiguration for Azure Data Lake Storage. |
| Enable watermarking | Select this check box to activate watermarking and select the time mode to
be used:
In the Watermark delay field, specify how long Spark waits for late data before finalizing each window. |
Usage
| Usage guidance | Description |
|---|---|
| Usage rule |
This component is used as a start component and requires an output link. This component, along with the Spark Structured Streaming component Palette it belongs to, appears only when you are creating a Spark Structured Streaming Job. |
| Spark Connection |
You need to use the Structured Streaming Configuration tab in the Run view to define the connection to a Spark cluster for the whole Job. This connection is effective on a per-Job basis. |