-1

我已经将我的 Spring Batch 应用程序部署到 Linux 环境和我的 SCDF 本地服务器,现在我想将我的 Spring Batch 应用程序注册到 SCDF。在 Windows 中,我通过提供 jar 文件路径来做到这一点。例如:file:///filePath/fineName。在 Linux 中,我可以将文件路径设为 /user/filePath/fileName。现在我需要将该文件路径注册到 SCDF。请建议我如何在 Linux 环境中做到这一点。

4

1 回答 1

1

无论您是在 Windows 机器还是 Linux 机器上,Spring Cloud Data Flow 的应用程序注册过程都是相同的。这两种情况都支持可执行 Spring Boot 应用程序的文件路径。您可以在此处的文档中阅读有关注册应用程序的更多信息:https ://docs.spring.io/spring-cloud-dataflow/docs/1.2.3.RELEASE/reference/htmlsingle/#spring-cloud-dataflow-register-流应用

于 2018-01-24T15:55:42.550 回答