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
1
vote
0 answers

Spring cloud task "Deadlock found when trying to get lock"

I am facing problems while setting up spring cloud task: It is throwing "Deadlock found when trying to get lock" exception. Don't know whats wrong in code? Limit number of concurrent task per processor.
1
vote
1 answer

Spring Cloud Task arguments are not propagated to Spring Batch job parameters

I am migrating from plain spring batch to spring cloud task and spring batch executed through spring cloud data flow. I am experiencing the below problem in both my job and the example job that I have deployed for file…
1
vote
1 answer

spring cloud stream app starter File Source to Spring Batch Cloud Task

I have a spring batch boot app which takes a flat file as input . I converted the app into cloud task and deployed in spring local data flow server. Next , I created a stream starting with File Source -> tasklaunchrequest-transform ->…
1
vote
0 answers

Launching Spring Batch Task from Spring Cloud Data Flow

I am having a web based spring batch application. My Batch Job will be kick started on an API call. Here is my method exposed as a web service. @RequestMapping(value = "/v1/initiateEntityCreation", method = RequestMethod.GET) public String…
1
vote
1 answer

Job/Task in Kubernetes and Spring Cloud Task

I created a Pod that have @EnableTaskLauncher with spring-cloud-deployer-kubernetes. It is receiving task requests through spring-cloud-stream and launching the tasks. Everything is working perfectly except that I want the task to be launched as…
Shahbour
  • 1,323
  • 1
  • 16
  • 42
1
vote
0 answers

Can Spring Cloud Task application can run on embedded tomcat

I have a simple webapp with @EnableTask annotation at main class. My Application is running on embedded tomcat. Is it is possible to run SpringBoot WebApp wrapped with @EnableTask annotation in embedded tomcat. Is yes can i have a simple example for…
1
vote
1 answer

Errors running junit test with spring-cloud-task annotation

I have strange errors running junit tests in my spring-cloud-task based app and have not been able to find a cause for this. This is a fragment of my test class followed by the error stack trace. I've notice that removing the @EnableTask annotation…
1
vote
1 answer

DeadlockLoserDataAccessException thrown by composed-task-runner on dataflow server

I have a Spring-cloud-dataflow server deployed on Pivotal Cloud Foundry. On the server, runs a pipeline of three spring-batch tasks. The pipeline is encapsulated inside a composed-task. When I launch the execution of this composed-task, the…
1
vote
1 answer

Spring Cloud Task can not wok on SCDF Kubernetes

i use SCDF Kubernetes Server to deploy the Spring Cloud Task. When i launch the Spring Cloud Task on SCDF Kubernetes Server,i find two strange problems, see below detail: when deploying the Spring Cloud Task,the Pod with arguments will be produced…
kyo
  • 11
  • 1
1
vote
1 answer

tasklaunchrequest-transform ignores the payload

I have a stream comprising of Source | ProcessorP1 | ProcessorP2 | ProcessorP3 | ProcessorP4 | Sink I'm using ProcessorP1 as my tasklaunchrequest-transform processor. I'm using this to launch a task via task-launcher. Now I need to pass on my…
1
vote
1 answer

Spring Cloud Task without persisting metadata to database?

I want to create a Spring cloud task application (with @EnableTask) that saves its output to a relational database but at the same time I dont want it to save metadata for taskExecution on my database. I want to force it to always use in-memory map…
1
vote
1 answer

Spring Cloud Data Flow pass data to task

How can I pass data to my Spring Cloud DataFlow Task? I need to pass some POJO on which my Task will be operate. Is it possible?
Markiza
  • 444
  • 1
  • 5
  • 18
1
vote
2 answers

Spring Cloud DataFlow http polling and deduplication

I have been reading much Spring Cloud DataFlow and related documentation in order to produce a data ingest solution that will run in my organization's Cloud Foundry deployment. The goal is to poll an HTTP service for data, perhaps three times per…
1
vote
1 answer

Can I register an app with Spring Cloud Data Flow from ftp server?

I am trying to register a spring cloud task jar which is residing in a ftp server , from a spring cloud data flow container which is running on PCF. Can somebody help me in terms of how to do a "app register" from a ftp location from SCDF if SCDF…
1
vote
2 answers

NullPointerException when retrieving job executions from Spring Cloud Data Flow 1.1.2 UI or API

I'm seeing a problem when I try to get a job execution list either in the UI 'Jobs' tab ('Error fetching data. Is the Data Flow server running?') or via the REST API (500 NullPointerException). The error from the log is…
David Geary
  • 1,756
  • 2
  • 14
  • 23