spring-cloud-task如何在两个应用之间传递消息或标记 [英] spring-cloud-task how to pass messages or flag between two apps

查看:166
本文介绍了spring-cloud-task如何在两个应用之间传递消息或标记的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用spring批处理进行了提取工作,该工作读取xml文件并提取到AEM中,并且工作正常. 现在,我正在尝试将此应用程序转换为Spring cloud Task.我想将此应用程序分为4个不同的部分,即各个应用程序.我需要将它们连接到Spring Cloud数据工作流,并根据将要执行的下一个流程传递一些数据和标志. 在Spring Cloud Task上可以吗?如果是,那我该如何绑定它们?请提供一些编程教程.

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.

推荐答案

在最近的.这样,您可以定义由多个spring-cloud-task(SCT)应用程序组成的有向图.

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.

流程中的每个步骤都可以是一个独立的SCT应用程序,您可以单独进行开发,测试和CI/CD.一旦准备好将它们编排成一个组合图,就可以在专门设计的

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.

这篇关于spring-cloud-task如何在两个应用之间传递消息或标记的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆