Context Management Options Comparison
Context Management Options Comparison
Comparison
0
Table of contents
Document Properties ............................................................................................... 2
Metadata............................................................................................................................................ 2
Version History ................................................................................................................................... 2
Due Diligence ..................................................................................................................................... 2
Metadata
Property Value Notes
Product (s) and version(s) Talend Cloud Which product(s) does this document refer to (Talend or Third Party)
Target Medium Talend Community Document to be published to – Wiki / Community or Talend Academy
Version History
Date Updated By Changes made / Signed off
<date> <technical enablement> Reviewed by members of Technical Enablement and good to publish
Due Diligence
Question Answer
• Talend Customers
Who is this for? Target Audience? • Talend Professional Services Consultants, Talend Support staffs
• Talend Technology Implementation Partners
Why create this document? • This information describes a real-life use-case
In the on-Premise environment, Talend provides three options for managing context variables:
1. Create “built-in” contexts. The context is hard coding within a job and cannot share between jobs.
• Open a job, select Contexts table.
• Add context variables, add context environment.
2. Create a “Repository Contexts”. A repository context is attached to a context group. It can be used across multiple jobs.
• Create a context group in Repository contexts.
• Add context variables, add context environment.
• Add context group to the job.
PROS CONS
Easy to create, change and manage Context is hard-coded in the Job itself
Allows you to automatically fill in the default contexts in the job Password can be visible for developers
depending on the environment when publishing to Talend Cloud
Repository context can be shared between jobs Password needs to re-enter when publishing to Talend Cloud
Value of repository context’s changes can be propagated Additional context value couldn’t propagate to the job, need to add
automatically to jobs manually to the job
• Drop a tFileInputDelimited component and a tContextLoad component from the Palette onto the design workspace.
• Link them using a Row > Main connection to form the first subJob.
PROS CONS
Context file is stored in the customer’s server and managed by the A subjob tContextLoad in the beginning of each job
customer
Context file can be protected by access rights(read only) Need a file system/servers to manage context file
Password could be encrypted in the context file and decrypted in the Context file cannot be restored if deleting mistakes
job
• Drop a tDBInput component and a tContextLoad component from the Palette onto the design workspace.
• Link them using a Row > Main connection to form the first subJob.
PROS CONS
Context table is stored in the customer’s database and managed by Need a subjob of tContextLoad in the beginning of each job
the customer
Context table is protected by access rights Need a database dedicated to manage context table
Password variable could be encrypted in the context table and Additional context value couldn’t propagate to the job, needs to add
decrypted in the job both in the table and job context
Define connection parameters under the Contexts node in the Repository tree view following the pattern
connection_<application_name>_<parameter_name>, where:
The connection is dedicated for each environment, developers cannot Only certain roles can create connections in Talend Cloud (Talend Cloud
use QA/Prod connection to run from Studio Admin role)
Password is invisible in connection properties Can’t run from Studio with connections defined in Cloud
Useful in the case where customer has only Cloud Engine and Can’t create a custom connection with the same application name as a
wouldn’t store context values from Studio native connection,
If not all the custom parameters previously defined will lose and
resetting the existing parameter values
Additional value will auto-propagate to the tasks that include the Connections can not be used across workspace
connection
• resource_flow_temp_folder
Use this parameter if the web user needs to have a temporary folder during the execution of the Task in the web application.
• resource_webhook_payload
Define a webhook context parameter in a Job to allow the web user to generate unique URLs of tasks from Talend Cloud Management
Console.
PROS CONS
The resource is dedicated for each environment, developers cannot Only certain roles can create connections in Talend Cloud (Talend
use QA/Prod resource to run from Studio Cloud Admin role)
Can use webhook context parameter Resources can not be used across workspace
Useful in the case where customer has only Cloud Engine and wants Can’t run from Studio if resources are defined in Cloud
load context from the file
Password context could be encrypted in the resource file and Additional context value cannot add directly from resource file.(delete
decrypted in the job and replace resource file)
Resources files can be versioned in Git Resource file size is limited by 100Mib
Talend Data Fabric brings together in a single platform all the necessary capabilities that ensure enterprise data is complete, clean, compliant, and
readily available to everyone who needs it throughout the organization. It simplifies all aspects of working with data for analysis and use, driving
critical business outcomes.
From Domino’s to L’Oréal, over 4,250 organizations across the globe rely on Talend to deliver exceptional customer experiences, make smarter
decisions in the moment, drive innovation, and improve operations. Talend has been recognized as a leader in its field by leading analyst firms and
industry publications including Forbes, InfoWorld and SD Times.
For more information, please visit www.talend.com and follow us on Twitter: @Talend.