spring-cloud-task how to pass messages or flag between two apps

旧城冷巷雨未停 提交于 2019-12-31 05:28:06

问题


I have already made a Ingestion job using spring batch which reads xml file and ingest into AEM and its working fine. Now, I am trying to convert this apps into Spring cloud Task. I want to split this apps into 4 different part which is individual apps. I need to connect them into spring cloud data workflow and pass some data and flags based on that next flow will be execute. Is it possible on spring cloud Task? if yes then how can I bind them? please provide some programming tutorial.


回答1:


In the recent 1.2.0.RELEASE, we have released a new feature called the "Composed Tasks". With this, you could define a directed graph that's made of several spring-cloud-task (SCT) applications.

Each step in your flow can be an independent SCT application, which you can develop, test, and CI/CD in isolation. Once you're ready to orchestrate them as a composed graph, you'd then register and use them in the specially designed composed-task DSL or the drag & drop GUI.

Checkout this screencast for more details.



来源:https://stackoverflow.com/questions/44303954/spring-cloud-task-how-to-pass-messages-or-flag-between-two-apps

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!