Spring Cloud Task allows a user to develop and run short lived microservices using Spring Cloud and run them locally, in the cloud, even on Spring Cloud Data Flow. Just add @EnableTask and run your app as a Spring Boot app (single application context).
Questions tagged [spring-cloud-task]
261 questions
2
votes
1 answer
Registering Custom Spring Cloud Task with Spring Cloud Data Flow
I'm getting started with Spring Cloud Data Flow and want to implement a simple Spring Cloud Task I want to use with it.
I created a hello world example from the documentation. When I run it in my IDE it executes without any problems and prints…
user6845507
2
votes
1 answer
Run and close child context from parent app
I'm using spring application builder to run child context application (spring Cloud task) from parent. I'm also passing running parent context to the builder of child application - it has DataSource bean defined and I want it to be used by task as…

Alexander.Furer
- 1,817
- 1
- 16
- 24
2
votes
2 answers
spring-data-flow task example
I'm using spring-cloud-dataflow with taskcloud module but I've some trouble to lunch a simple example in container.
tiny example 6.3 writing code then I've deploy it
but when I try to execute it throw me an
java.lang.IllegalArgumentException:…

fbalicchia
- 67
- 1
- 3
2
votes
0 answers
Spring integration file inbound adapter is getting closed while using spring cloud task
I have developed a sample spring batch integration sample which polls a directory and trigger a batch job for each file.
It's working as expected as long as I am not using spring cloud task.
If I am adding @EnableTask to batch configuration file…

kiranreddykasa
- 179
- 1
- 9
2
votes
0 answers
Spring cloud task jdbc incremental load
Spring cloud task for JDBC incremental load: How to achieve jdbc incremental data load using Spring cloud task/stream.

Rafeeq
- 21
- 2
2
votes
2 answers
Using Spring Cloud Task in order to run tasks on a tasks-enabled Cloud Foundry
I am using the latest Pivotal Cloud Foundry, i.e version 1.8.
Running cf feature-flags indicates that tasks creation is indeed enabled.
My Spring app is using the latest Spring Cloud Tasks library, i.e. version 1.1.0.RELEASE, and tasks are enabled…

balteo
- 23,602
- 63
- 219
- 412
2
votes
1 answer
Is it safe to use Spring Cloud Dataflow Local Server on production?
We are looking into implementing spring cloud data flow in a local system environment to process streams and task jobs for day to day transactions. Without using PCF, Kubernetes, YARN or Mesos, we are thinking of using the local server for…

J.D.
- 23
- 2
2
votes
1 answer
How to execute spring cloud task using rest-api
I know a cloud task can be scheduled and can be configured using stream also to be executed.
As a developer I want to execute my spring cloud task using rest-api so that I can execute the task on demand.
Basically i have a work flow management…

Sunil Chauraha
- 525
- 1
- 7
- 21
1
vote
1 answer
Spring cloud Data Flow Task sample python task not working
I am trying to do the sample python task:
Install local with docker:
https://dataflow.spring.io/docs/installation/local/docker/
Then proceed to create python task:
https://dataflow.spring.io/docs/recipes/polyglot/task/
(To add application/launch…

Bill Mol
- 31
- 3
1
vote
0 answers
If I kill spring cloud task jar it is not reflecting in SCDF dashboard
We triggered spring cloud task using SCDF and abnormally if i kill the running jar which triggered for SCDF. In SCDF Ui still it is running state is there any way we can get the failed status in SCDF

Abhi Ram
- 41
- 1
1
vote
0 answers
How can we stop spring cloud task in spring cloud data flow?
I am trying to stop a running task in spring cloud data flow , but the spring batch application didn't get terminated and in spring cloud data flow server task status it is still running.
Is there any way we can stop the task and can get status as…

Abhi Ram
- 41
- 1
1
vote
0 answers
Spring Batch very slow when using 2 datasources - one for Spring Batch and another for the App
I modified this sample batch job provided by spring to use two custom datasources instead of the one autoconfigured by boot. Both datasources point to the same MySql DB server, but to different schemas. One schema for Batch/Task tables and another…

vrajkuma
- 31
- 4
1
vote
1 answer
Helm value not interpreted
I'm trying to set an application property to a spring value in a helm values file. But when I deploy this helm chart to kubernetes, I can see the value is not replaced. I would like to set the application value to the name of the stream or task.…

Vin
- 11
- 1
1
vote
0 answers
Spring Cloud Data Flow - Handling exceptions before CommandLineRunner
Let's say that we have a Composed Task in Spring Cloud Data Flow defined:
JobA && JobB
JobA needs to write data to an external database, so I am using 2 datasource configurations.
One for Task and Batch processing (received from Spring Clodu Data…

Tomas Lukac
- 1,923
- 2
- 19
- 37
1
vote
0 answers
Spring Batch task is getting shutdown before RSocket proxy scrapes metrics from it
I am using Spring Cloud Dataflow to launch batch jobs that are wrapped in Spring Cloud task and we also have configured Prometheus and Rsocket proxy to scrape task related metrics. To make the tasks shutdown, I am using…

Kranthi
- 37
- 6