tDataEncrypt properties for Apache Spark Structured Streaming
Last updated: 9/30/2026These properties are used to configure tDataEncrypt running in the Spark Structured Streaming Job framework.
The Spark Structured Streaming tDataEncrypt component belongs to the Data Quality family.
This component is supported on Local Spark 3.5.x and Databricks/EMR with Spark 3.x.
The component in this framework is available in Talend Data Management Platform, Talend Big Data Platform, Talend Real-Time Big Data Platform, Talend Data Services Platform, and in Talend Data Fabric.
Basic settings
| Properties | Description |
|---|---|
|
Schema and Edit Schema |
|
| Secret method |
Select a secret method:
|
|
Password |
Available when Cryptographic file is selected as secret method. This value must be enclosed in double quotes. When using an existing cryptographic file, enter the password required to use this file. When generating a cryptographic file, enter the password used to encrypt this file. This password is required to decrypt back data using the tDataDecrypt component. |
|
Cryptographic file path |
Available when Cryptographic file is selected as secret method. When using an existing cryptographic file, enter the path to the cryptographic file. It must be enclosed in double quotes. When generating a cryptographic file, enter the destination file path. This must be a local file path. You can enter two types of values:
This cryptographic file is encrypted using AES-GCM. This cryptographic file is required to decrypt back data using the tDataDecrypt component. For more information about the cryptographic file, see the data encryption process. |
|
Generate cryptographic file |
Available when Cryptographic file is selected as secret method. Click this button to generate the cryptographic file. In the dialog box, select the cryptographic method
used to encrypt the input data:
|
| Secret key |
Available when 256-bit key (encoded with base64) is selected as secret method. This value must be enclosed in double quotes. This key is required to decrypt back data using the tDataDecrypt component. |
| Cryptographic method |
Available when 256-bit key (encoded with base64) is selected as secret method. Select the cryptographic method:
|
|
Columns to encrypt |
Select the corresponding Encrypt check boxes to encrypt input columns. You can encrypt all column data types, except Dynamic, but the output encrypted data is of String type. Configure the output schema of the component to set the type of the columns to be encrypted to String.When the input data type is Dynamic or String, the output column is automatically set to Dynamic or String respectively. The columns that are not selected will not be encrypted and be returned as-is by the component. |
Usage
| Usage guidance | Description |
|---|---|
| Usage rule |
This component is used as an intermediate step. 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. |