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
0 answers
Different Data Sources for RepositoryItemReader and RepositoryItemWriter
I desperately need to know if I can use RepositoryItemReader and RepositoryItemWriter to accomplish for example transfer data from one database to another?
I can probably do it using JdbcPagingItemReader and JdbcBatchItemWriter since both have…

kace
- 11
- 1
1
vote
1 answer
Issues for launch one-shot task in Cloud Foundry v2
Currently I'm just trying to use the spring cloud task feature in pivotal public cloud with my account, the api version is 2.63. I just copy the only complete sample code from the spring cloud task document, build and package locally and push to the…

Audison
- 459
- 4
- 8
1
vote
2 answers
Executing spring cloud task based on event into messaging source (i.e. RabbitMQ, Kafka)
I am new in Learning of Spring cloud Task and SCDF so asking this.
I wand to execute my SCT based on an event (say a message is posted into Rabbit MQ), so I am think it can be done in two ways:
Create a source which polls message from RabbitMQ and…

Sunil Chauraha
- 525
- 1
- 7
- 21
0
votes
0 answers
Spring Cloud Data Flow 2.10.3 : may i launch a Task linked to a specific application version, instead of default version
I'd like to run a Task (or create a new Task and run it) whom execution will trigger deployment and execution of a specified (on task level) version of the linked application.
I don't find how to do, i thought that i could use the…

Damien Tacheron
- 51
- 8
0
votes
0 answers
Spring cloud task(composed Task) restart from the failed job
I have a spring cloud composed task which has nearly 10 jobs . If any of the job fails from the composed task, I have to continue the flow from the failed job. For Eg: After launching the composed task, if 4'th job fails , I don't want to run again…
0
votes
0 answers
SCDF Task Kubernetes Persistent Volume attachment
I have created a simple spring cloud task project, which will generate a file and add to local folder. I am using SCDF(Spring cloud data flow) and kubernetes for deployment. I need to generate file to Persistent Volume. I have deployed it using…

ThunderBoy
- 1
- 3
0
votes
1 answer
how to track Spring Cloud Task execution results
I am looking at using Spring Cloud Task for offloading some some asynchronous jobs that need to be executed. I want to be able to track the results of these so the originating application can report whether it was successful or not. The examples…
0
votes
1 answer
Spring boot cloud task without springs task tables
I've an application that run a task that parses a file and persist the data in the database. After that it shutsdown gracefully.
I can see that spring automatically creates 4 tables and populates them with data.
Tables that spring…

user2354898
- 253
- 2
- 15
0
votes
1 answer
An error occurred when running the spring cloud task batch app
An error occurred when running the spring cloud task batch app
ERROR : Statement.execute(CREATE TABLE TASK_EXECUTION (...) FAILED!
org.postgresql.util.PSQLException: exceptioin: "task_execution" A relation of names already exists
Is there a way to…

이상빈
- 11
- 2
0
votes
1 answer
Spring cloud task in dataflow dashboard is complete but one partition of spring batch failed
I have a simple spring batch remote partitioning project running with spring cloud task. Im using spring cloud dataflow at run the spring batch.
Spring boot version - 2.7.8
Spring cloud task - 2.4.5
spring cloud data flow - 2.10.1-SNAPSHOT
I'm using…

Sanjay
- 11
- 3
0
votes
2 answers
The import org.springframework.cloud.task.Task cannot be resolved
Trying to write a custom task in Spring Cloud Dataflow which will create a Spring Batch application that implements the Task interface provided by the Spring Cloud Task.
I have try all possible ways to implement this but I am getting this error
The…

Santosh Mallah
- 1
- 2
0
votes
1 answer
Set SCDF CTR to execute next task immediately when step is complete
I'm using SCDF 2.9.6, which is mariadb 10.3.x(used in my company, cannot update version) compatible with flyway.
Compiling SCDF 2.10.x project with lower flyway dependency resulted whole compile process failure... I guess this is the highest version…

Carte
- 21
- 4
0
votes
1 answer
Spring Cloud Dataflow with tasks based on Spring Boot 3 and Spring Batch 5
We are migrating Spring Batch applications based on Spring Boot 2.7.x to Spring Boot 3.0.0. With that migration we noticed changes in versions from Spring Batch 4.3.7 to Spring Batch 5.0.0 and Spring Cloud dependencies from 2021.0.3 to…

Jochen Reinhardt
- 833
- 5
- 14
0
votes
1 answer
Migrating H2 configuration in Spring Batch for Spring Boot 2.7
I need to migrate a project from Spring Boot 2.5.3 to 2.7.3 (and, if significant, also Spring Cloud from 2020.0.3 to 2021.0.3 and Spring Batch from 4.3.3 to 4.3.6). The main issue is that when using Spring Batch and H2, I get this…

dcolazin
- 831
- 1
- 10
- 25
0
votes
0 answers
Launching TASK can't drop capabilities under kubernetes
An error occurred
Failure executing: POST at: https://10.96.0.1/api/v1/namespaces/..../pods. Message: Forbidden!Configured service account doesn't have access. Service account may have been revoked. admission webhook "validation.gatekeeper.sh"…