简体   繁体   English

如何将 Data-Flow 与 Spring 批处理集成?

[英]How do I integrate Data-Flow with Spring batch?

I have a batch application that works as db to db, but it only works on my "local" computer.我有一个作为 db 到 db 的批处理应用程序,但它只适用于我的“本地”计算机。

I want to integrate it with spring cloud data-flow to view and manage it via data-flow.我想将它与 spring 云数据流集成,以通过数据流查看和管理它。

Does anyone have any idea how to do this?有谁知道如何做到这一点?

Can I install data-flow manually, has anyone done this before?我可以手动安装数据流吗,以前有人做过吗? and the data-flow interface is running on localhost.并且数据流接口在本地主机上运行。 But now how do I communicate my batch project on my "local" computer with the data-flow on "localhost"?但是现在如何将“本地”计算机上的批处理项目与“本地主机”上的数据流进行通信?

You can run SCDF locally, see https://dataflow.spring.io/docs/installation/local/manual/ .您可以在本地运行 SCDF,请参阅https://dataflow.spring.io/docs/installation/local/manual/

Then, you can register your Spring Batch app in SCDF as described here: https://dataflow.spring.io/docs/batch-developer-guides/batch/spring-batch/ .然后,您可以按照此处所述在 SCDF 中注册您的 Spring Batch 应用程序: https://dataflow.spring.io/docs/batch-developer-guides/batch/spring-batch/ You might need to make it a Spring Boot/ Cloud Task app though.不过,您可能需要将其设为 Spring Boot/Cloud Task 应用程序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM