271 questions
Score of 0
0 answers
72 views
Spring cloud data flow ''Failed to start bean 'taskLifecycleListener'' error
I am trying to run a Spring Batch task in Spring Cloud Data Flow (SCDF), but every time I execute it, the task status remains unknown, and I get the following error in the logs:
stdout:
. ____ ...
Score of 0
0 answers
152 views
Spring Batch My Command Line Runner implementation is being called intermittently
I have my custom command line runner implementation which add a job parameter in run method. I'm invoking my spring task from a SCDF task scheduler. The problem is my commandlinerunner run is not not ...
Score of 0
0 answers
62 views
Task schedule data flow , send current time stamp as argument
I’m using SCDF to create tasks and task schedules. My task accepts current timestamp as the job parameter. But I’m unable to pass the current timestamp using —arguments . Can anyone help me in ...
Score of 0
1 answer
77 views
Spring Cloud Dataflow Server - NoSQL / MongoDB Database support
The latest milestone release for Spring batch (5.2.0-M2) has added support for MongoDB. Spring cloud dataflow server still requires an RDMBS (MySQL, PostgreSQL etc). Is there a feature request already ...
Score of 0
1 answer
43 views
How to use declarative transaction management in spring cloud task with spring batch
Spring boot 2.5.4
My problem is that i dont't succeed in managing transactions : while i annotate my service layer and dao with @Transactionnal, when i have successive dao call in the same service ...
Score of 0
1 answer
143 views
Spring cloud data flow cannot find driver class at startup
I'm trying to up spring cloud data flow in my local. By default SCDF use h2 as primary database to store meta information. In my cloud-task-batch application all the properties related to database are ...
Score of 1
2 answers
313 views
App is failing with 'taskLifecycleListener' bean initialization errors post Spring Boot 3.x upgrade
Spring Batch application is failing to start up with Spring Boot 3.0.16. Previously it was on Spring Boot 2.7.18(using Spring Boot managed Spring Batch version).
My application connects to MS SQL ...
Score of 0
1 answer
97 views
Spring Cloud Data Flow - Passing secret to the Cloud Task
How to pass the secrets to a cloud task when executing through Spring Cloud Data Flow. I am trying to set the secrets using deployer properties but it's not working
Thanks for your help in advance.
...
Score of 0
1 answer
136 views
Is there a way to use Spring Cloud Task without using/declaring Relational Database?
I tried to implement Spring Cloud Task in my application and from reading documentation I understood that it uses relational database to store the state of the Spring Cloud Task. But in the ...
Score of 0
1 answer
392 views
Spring Cloud Task execution fails when running via SpringCloud dataflow server 2.11.2 with Invalid TaskExecution ID, but works fine with 2.10
I am writing a spring cloud task(Spring Boot 3, Java 17) that reads a flat file and inserts it into a database. So this is a multiple databases scenario. Running via SpringCloud dataflow server 2.112,...
Score of 1
1 answer
1012 views
Set-up the same TransactionManager on Batch repository and Task repository with Spring Boot auto-config
I've been working for a few days on a Spring Batch (4.3.10) on Spring Cloud Task (2.4.6) all via Spring Boot (2.7.18). I'm going crazy trying to figure out how to configure my application and ...
Score of 0
0 answers
104 views
Restarting only failed partitions of a Cloud Task in Spring Cloud Data Flow on K8s platform
We are using Spring Cloud Data Flow running in Kubernetes platform. Sometimes when we run large number of partitions (pods), some partitions are failing. We want to restart those failed tasks only.
...
Score of 0
1 answer
138 views
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, ...
Score of 0
0 answers
87 views
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 ...
Score of 0
0 answers
107 views
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 ...