I'm using Talend 6.2 enterprise version, and have a job which takes a data from Rest api and process further.
I'm looking for something live listening of rest API. Is that possible I could make my job ever running so that whenever new data arrives on api server, we will be keep consuming data through rest API. Some sort of live streaming.
Any suggestions please..!!
I'm using trestrequest and trestresponse components in Talend DI.
I have a set up where whenever user subscribe to a website that information we are getting from rest api and sending an mail to them using another api.
How can I achieve this for ever running process ? I mean for real time processing, I want my job to be keep running and keep getting the information from api when ever user subscribe the website.
Is there any way to achieve this ?
This is very much what Talend ESB is designed for, whereas DI is intended for one-off/periodically scheduled jobs which start, do their work, and then stop.
With ESB, you create services which run on your server, and provide end-points which a remote system, like your website, can connect to in the manner you're describing. This triggers the relevant processing, which is carried out immediately, and at a minimum will return at least confirmation that everything has been completed successfully.
Do you mean to say the job which I'm having right now in Talend DI, move that to esb ? If not, Can you please give some example what type of service and how can I create that in ESB ? And more over how can I link that to Talend DI job for further processing ?
Second, How to deploy this Talend ESB service with Talend DI job together in Tac ?
You'll be able to re-implement the core processing etc. from your current DI job in ESB, as it includes the same components, plus a good number of additional ones, and Studio features which are necessary for developing services.
There is a lot more involved when developing services, compared to creating DI jobs, so I'd recommend working through the ESB Getting Started Guide, which covers the basics you'll need to accomplish your current goals:
You can import jobs which have been exported from DI into ESB.