271 questions
0
votes
0
answers
62
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:
. ____ ...
0
votes
0
answers
126
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 ...
0
votes
0
answers
55
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 ...
0
votes
1
answer
66
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 ...
0
votes
1
answer
40
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 ...
0
votes
1
answer
125
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 ...
1
vote
2
answers
293
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 ...
0
votes
1
answer
89
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.
...
0
votes
1
answer
121
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 ...
0
votes
1
answer
370
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,...
1
vote
1
answer
940
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 ...
0
votes
0
answers
90
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.
...
0
votes
1
answer
132
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, ...
0
votes
0
answers
85
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 ...
0
votes
0
answers
105
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 ...