Questions tagged [spring-cloud-task]

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).

261 questions
0
votes
0 answers

Spring Cloud Data Flow REST API composed task arguments not passed to child tasks

I am using the SCDF REST API to launch a composed task. However, the arguments I provide to the task that I launch via tasks/execution do not get passed down to the tasks that make up the composed task. My endpoint looks something like…
0
votes
1 answer

How can I use Spring Cloud Task with modular Spring Batch jobs?

I've developed couple of Spring Batch jobs in Spring Boot web application. For easier maintenance, I used @EnableBatchProcessing(modular = true) like this: @Configuration @EnableBatchProcessing(modular = true) public class BatchConfiguration { …
0
votes
1 answer

How to set task's exit code to non-zero value when batch job fails?

I want to set exit code of task_execution table to non zero value when my batch job fails. As per Documentation, I have set the value of property spring.cloud.task.batch.failOnJobFailure to true, and it is setting the value of task_execution's…
SDW
  • 1
  • 2
0
votes
1 answer

Spring Cloud Dataflow UI Exception after installation in minikube

Hi I am new to spring cloud dataflow and am trying to install scdf in minikube using the documentation https://dataflow.spring.io/docs/installation/kubernetes/kubectl/ But when dashboard accessed, "Could not open JPA EntityManager for transaction;…
0
votes
1 answer

Restricting concurrent task execution on Spring Cloud Data Flow

I have deployed a Spring Batch project as a task on Spring Cloud Data Flow (Using @EnableTask). I have used spring.cloud.task.singleInstanceEnabled=true to avoid relaunching task while task's status is still running on Spring Cloud Data Flow. This…
0
votes
1 answer

What is the difference between Spring Cloud Stream and Spring Cloud Task?

My current understanding is that both of these projects are under Spring Cloud Dataflow, and serve as components of the pipeline. However, both can be made recurring (a stream is by definition recurring, where a task can run every certain time…
0
votes
1 answer

Batch job on openshift

We have to decide on batch processing framework/technology on OpenShift environmentusing Java. Currently we are using springboot for Online application. For batch processing we have below options, Spring batch Spring cloud data flow Spring cloud…
0
votes
1 answer

Spring Cloud Task JobAlreadyRunning Exception

A Spring Cloud Composed Batch Task Job(jobid=1) is executed and stopped without Completion. If we try to run the task again from dataflow shell, the JobExecutionAlreadyRunningException is throwing. Even though new job id 2 is created for next task…
Logesh
  • 45
  • 4
0
votes
1 answer

Spring CLoud Task

is there a way to pass an task result as input to other tasks, like in the image below. Sounds easy, but I can't find anything on the Internet. I don't want to use queues or other mechanisms to do this, Im looking for a task "native" way. I found…
Ares91
  • 506
  • 2
  • 8
  • 27
0
votes
0 answers

launching partitioned spring batch job using the spring-cloud-deployer-cloudfoundry

The property spring.cloud.deployer.cloudfoundry.push-task-apps-enabled was not applicable, using the TaskLauncher and passing resource = null in AppDeploymentRequest. I would like to know if the pattern is valid. Launching a partitioned batch job…
arug977
  • 1
  • 2
0
votes
1 answer

SCDF. WSDL Source : Spring Cloud Task or Spring Cloud Stream or any other solution?

We have requirements for getting data from a SOAP web service, where same records are going to be exposed. Then the record is transformed and written do the DB. We are the acitve side and at the certain intervals we are going to check if a new…
0
votes
1 answer

How to Increase Heap memory for SCDF Task at the time of launch at pivotal by passing environment property or deployment property

I am using task-launcher-sink 1.3.1.RELEASE Version and SDCF Version 1.4.0.RELEASE to launch my task at PCF. The default allocated heap for the my task is not sufficient to run it, as my task is processing data of larger size. So, it is giving the…
0
votes
1 answer

Passing annotation to scheduled task in spring cloud dataflow

I am running SCDF on Kubernetes and have scheduled some tasks. I have to pass annotations to my tasks. I have given the following annotations in env: - name: SPRING_CLOUD_DEPLOYER_KUBERNETES_POD_ANNOTATIONS value: - name:…
0
votes
1 answer

Spring cloud dataflow - Composite Task with external configuration

I have a composite task with two cloud task ( AAA && BBB ). I want to pass the properties to AAA and BBB task from a directory. For example, the usage of "--spring.config.location=directory/" when launching the Spring boot application. As per the…
0
votes
1 answer

Spring cloud task - worker pod not getting deleted in kubernetes

We're using spring batch remote partitioning based on spring-cloud-deployer-kubernetes, for some reason worker pods were not getting deleted after the worker execution. Wondering what is the configuration that kicks off the cleanup through…
Magesh P
  • 11
  • 1