Search code examples
springspring-cloud-dataflow

Integrating Spring Cloud Data Flow for existing Spring Batch application


I have an exiting Spring Batch application, with a Job. I would like to monitor the Job, using Spring Cloud Data Flow. How can we integrate Spring Cloud Data Flow with my existing spring batch application.


Solution

  • Running a Spring Batch Job as a Task in SCDF is straightforward. All you'd have to do is to wrap the batch-job in Spring Could Task programming model and register it in SCDF. You can use the batch-job sample for reference.

    Here's a full-blown file-ingest use-case running as a Task in SCDF.