我正在 Talend 建立一个查询宁静服务的工作。在工作中,我发起一个工作并取回一个工作 ID。然后我查询状态服务,需要等待作业完成。我将如何在 Talend 中执行此操作?我一直在玩 tLoop、tFlowToIterate、tIterateToFlow 和 tJavaRow 组件来尝试让它工作,但不知道如何配置它。
以下是我正在尝试做的总结:
1. tRest: Start a job and get job ID
|
--> 2. tRest: Poll status of job
|
--> 3. tUnknown?: If the job is running, sleep and re-run Step 2.
|
--> 4. tRest: when the job is complete, retrieve the results
我将如何设置上面的第 3 步?