0
votes

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?

1

1 Answers

0
votes

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.