Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Talend Open Studio Cookbook

You're reading from  Talend Open Studio Cookbook

Product type Book
Published in Oct 2013
Publisher Packt
ISBN-13 9781782167266
Pages 270 pages
Edition 1st Edition
Languages
Author (1):
Rick Barton Rick Barton
Profile icon Rick Barton
Toc

Table of Contents (21) Chapters close

Talend Open Studio Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. Introduction and General Principles 2. Metadata and Schemas 3. Validating Data 4. Mapping Data 5. Using Java in Talend 6. Managing Context Variables 7. Working with Databases 8. Managing Files 9. Working with XML, Queues, and Web Services 10. Debugging, Logging, and Testing 11. Deploying and Scheduling Talend Code 12. Common Mistakes and Other Useful Hints and Tips Common Type Conversions
Management of Contexts Index

Understanding implicit context loading


The implicit context load method as described in the recipe Using implicit context load to load contexts in Chapter 6, Managing Context Variables.

Pros

The implicit context load technique is centrally managed, thus ensuring consistent use across a project. Developers do not need to remember to set context variables, because they will be set automatically.

The use of external files is good practice for managing contexts, as they are less likely to be overwritten during deployment.

Cons

This method provides the option to fail if a context variable is not present or does not contain data, which is great for validating your parameters. Unfortunately this option checks against the whole context of a job, including context variables that are only used locally within the job and will fail if the local job variables are not present in the external file. Thus we have a choice; we can add single use variables to our shared context, potentially making it very messy, or we have to turn off the option to fail the job if we find problems with the context variables, thus removing a level of validation that we may prefer to keep.

Conclusion

The implicit context load method provides a consistent method for loading contexts and requires the least effort to set up and maintain, but it does suffer from a lack of fine grain since the context variables are applied to every job in a project.

It is good for projects where there is high degree of commonality in the processing and the resources.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime