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
1
vote
1 answer
Passing arguments to spring cloud tasks
I used composed task runner to run two tasks. These two tasks refer to simple spring boot applications. I want to pass launch time arguments to the two child tasks. The arguments are different for each child tasks. I read that properties can be sent…

user2316771
- 111
- 1
- 1
- 11
1
vote
0 answers
Spring Batch with Spring cloud data flow
Getting the below error after adding @EnableTask in Spring Batch application
The bean 'transactionManager', defined in class path resource [org/springframework/batch/core/configuration/annotation/SimpleBatchConfiguration.class], could not be…

Deepak
- 1,506
- 1
- 14
- 13
1
vote
2 answers
Spring Cloud Task not started with Spring Cloud Stream using RabbitMQ
I am experimenting with Spring Cloud APIs as part of microservices course.
To setup server-less task, I am using Cloud Task, Cloud Stream(RabbitMQ), and Spring Web.
For this I have setup following projects:
Serverless task to be executed -…

Omkar Shetkar
- 3,488
- 5
- 35
- 50
1
vote
1 answer
spring cloud task taskLifecycleListener error when running in dataflow server
I implemented the sample batch-job sample given in spring cloud task samples. The spring boot version used in that is 2.0.1.RELEASE. Since I have to port another job I have to spring cloud task I wanted to find the oldest version compatible. The jar…

Siddhant Sorann
- 313
- 3
- 15
1
vote
1 answer
how to start only one job in a task in spring cloud dataflow
I have a simple task which has 2 jobs. When I run the task Job 1 and Job 2 run one after another. How can I configure it in a way so that when I pass the job name only that job runs?

Siddhant Sorann
- 313
- 3
- 15
1
vote
1 answer
The constructor TaskLaunchRequest(String, List, null, null) is undefined - Spring Cloud Task
I am developing a code for the Spring Cloud with Spring Boot. In this example, I am working in Spring Cloud Tasks. I was using Spring Boot 1.4.1.RELEASE then below code was working fine. When I updated…

Jeff Cook
- 7,956
- 36
- 115
- 186
1
vote
1 answer
How to trigger a spring cloud task from Task Launcher?
I am not able to trigger a spring cloud task from Task launcher. I have created this task launcher sink application,Please let me know whether I am configuring things…

Ravikiran
- 45
- 1
- 7
1
vote
1 answer
Passing data between tasks in a Spring Cloud Composed Task
I have been working with Spring Cloud DataFlow and I have created my Composed Task which involves 3 Tasks.
My question is: Is possible to share information between those tasks? What would be a good pattern to do this?
I know that Spring Dataflow…

dbustosp
- 4,208
- 25
- 46
1
vote
1 answer
Composed Task using a different port than default (9393) in Spring Cloud Data Flow
I have initialized an Spring Data Flow Server using port 8181 and I have been trying to run a composed task using this particular server.
When I try to run the Tasks independently they run perfectly fine, but when I try to run them in a Composed…

dbustosp
- 4,208
- 25
- 46
1
vote
1 answer
Running a spring batch with partitions in cloud foundry
I have created an app with spring batch(with partition) application taking example of this https://github.com/mminella/S3JDBC. My app is reading some files from object store and doing some processing and writing back to object the store. My app with…

IamSoo
- 53
- 1
- 4
1
vote
2 answers
TaskConfigurer does not considering schema name for datasource
I have 2 data source. For one data source, I want to use custom schema name. For this reason, I am setting my data source url like
spring.datasource.url=jdbc:postgresql://192.168.33.10/analytics?currentSchema=bahmni_mart_scdf.
But it's creating all…

Suman Maity
- 79
- 6
1
vote
0 answers
Spring cloud starter task : AnnotationConfigApplicationContext has been closed already
Building new project using spring batch and Spring cloud tasks using spring boot application.
I am getting following error while doing the integration with Spring Cloud Flow Tasks.
Here is the error:
java.lang.IllegalStateException:…

Vijay Mohan
- 1,056
- 14
- 34
1
vote
1 answer
Spring Data Flow overriding job parameters at launch
I am currently facing an issue with my Tasks invocation in Spring Cloud Data Flow.
I have an Spring Batch (containing single-tasklet-step job) application registered on SCDF and a task definition based on this app. During my first launch of this…

Enrico Bergamo
- 163
- 1
- 14
1
vote
2 answers
Deploying dockerized apps on Spring Cloud Data Flow server
Reading the documentation, it says:
Depending on the runtime, applications can be packaged in two ways:
Spring Boot uber-jar that is hosted in a maven repository, file, or HTTP(S).
Docker image.
So I made a docker image that runs a hello-world…

anat0lius
- 2,145
- 6
- 33
- 60
1
vote
2 answers
Cannot cast SQLServerDriver to DataSource
On my Spring Cloud Task project I'm using Spring Batch. I want to separate the metadata (BATCH_ and TASK_ tables) from the production data, so I configure two DataSource like this:
# DataSource: Production…

anat0lius
- 2,145
- 6
- 33
- 60