tDataEncrypt properties for Apache Spark Streaming
These properties are used to configure tDataEncrypt running in the Spark Streaming Job framework.
The Standard tDataEncrypt component belongs to the Data Quality family.
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
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 Sync columns to retrieve the schema from the previous component connected in the Job. Click Edit schema to make changes to the schema. If the current schema is of the Repository type, three options are available:
|
Built-In: You create and store the schema locally for this component only. |
|
Repository: You have already created the schema and stored it in the Repository. You can reuse it in various projects and Job designs. |
|
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. |
Advanced settings
Key derivation function |
Select the key derivation function. Jobs created from
Talend Studio 8.0 R2022-04 run using PBKDF2 with 300,000
iterations.
When you import a Job prior to Talend Studio 8.0 R2022-04, you can run the Job using 300,000 iterations. The results will be different than using 65,536 iterations. |
tStat Catcher Statistics |
Select this check box to gather the Job processing metadata at the Job level as well as at each component level. |
Usage
Usage rule |
This component is usually used as an intermediate component, and it requires an input component and an output component. |
Spark Connection |
In the Spark
Configuration tab in the Run
view, define the connection to a given Spark cluster for the whole Job. In
addition, since the Job expects its dependent jar files for execution, you must
specify the directory in the file system to which these jar files are
transferred so that Spark can access these files:
This connection is effective on a per-Job basis. |