Search code examples
javaspringspring-cloud-dataflowspring-cloud-task

Spring Cloud Data Flow pass data to task


How can I pass data to my Spring Cloud DataFlow Task?

I need to pass some POJO on which my Task will be operate. Is it possible?


Solution

  • You can pass the properties when launching the task. If you want to pass a POJO then make sure your task understand that POJO as properties when passed as arguments.

    For passing the properties, you can refer here