What is the difference between routes and jobs in Talend ESB?

They seem to be doing more or less the same thing - taking data, processing it, and sending it.

Internet search results show that Talend's routes are pretty much the same as Camel Routes, but that doesn't say anything about what they represent or how they differ from jobs.

What are the routes and tasks in Talend ESB? What is the difference between them? When should you give preference to the other?

+3


source to share


2 answers


Talend ESB tasks are exactly the same as the tasks you can do in other versions of Talend Studio (like Data Integration Studio). Talend tasks are best for creating ETL data processing workflows(Extract-Transform-Load), in which data is to be extracted, transformed and loaded between different types of objects or systems (eg databases, flatfiles, etc ..). Typically, you will talk about anything from small to large datasets processed at intervals of more than a few minutes or so. Talend ESB Studio takes a process that you create in the Studio UI and generates Java code in the background that allows your job to run when the start button is clicked. In enterprise editions of Talend, you can deploy these jobs to run on a schedule, but you can also export them manually using Studio itself.

Talend ESB routes are quite similar to jobs in that they generate Java code in the background just like jobs do, but their use is more suitable for web services and messaging systems where you have smaller datasets and want to migrate it in real time. Most (if not all) of the generated code for Talend ESB routes uses a Java framework called Apache Camel . Camel is used to create Integration Templates(the scale of which is quite huge), but you can think of it loosely as a toolbox for building messaging systems. Routes are not designed to run periodically - rather, they are deployed in some form of OSGi container (like Apache Karaf that ships with Talend ESB) and are more service oriented.



It's important to note that you can actually call Talend Jobs from Talend Route if you like.

+2


source


The main difference between routes and Talend jobs is that when a route starts, it listens to input endlessly (file, message..etc) and whenever available it is processed and sent to the destination until the route stops ... On the other hand, a job is a batch process that starts on demand to process some input (files, database..etc) and ends when all input has been processed.



+1


source







All Articles