0

I have a batch application, in Spring cloud task that is meant to be a short lived micro service. There are many such batch applications. Now, I can throw Spring Cloud deployer and its task launcher and with its help, we can start the Spring Cloud task.

What I found were all from command line. I want some java code that can use TaskLauncher, to execute the Task on Pivotal cloud Foundry.

Have anyone done this or can we even do this?

Nikhil Pareek
  • 734
  • 9
  • 24

1 Answers1

0

We have an out-of-the-box tasklauncher-cloudfoundry that does exactly what you're looking for.

You can push it to PCF standalone (see example) or define a streaming-pipeline in SCDF and let SCDF orchestrate that in the platform for you.

Sabby Anandan
  • 5,636
  • 2
  • 12
  • 21
  • that's what I got from all the googling. By question is, how to achieve that using a java code, what we are doing using comandLine arguments – Nikhil Pareek Feb 21 '18 at 13:52