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
1 answer

Composed Task Runner doesn't show execution time

I created a Composed Task Runner with below definition. SuccessTask and Notifier are simple Spring Cloud Task spring boot applications that are printing just Hello World and returning an exit code 0. When I create individual tasks I'm able to see…
0
votes
1 answer

Spring Cloud data flow does not show Spring cloud task execution details

The Spring cloud dataflow documentation mentions When executing tasks externally (i.e. command line) and you wish for Spring Cloud Data Flow to show the TaskExecutions in its UI, be sure that common datasource settings are shared among the both.…
0
votes
1 answer

Scheduling a composed task

I am trying to schedule the launch of composed task in SCDF, but have been unable to find a way to do this. The closest thing that I have found is the TriggerTask source and tasklauncher sink modules. See TriggerTask The problem with this approach…
0
votes
1 answer

Spring Cloud DataFlow run Composed Task multiple times

Is there any way to tell Composed task runner (CTR) to run composed task multiple times? For now, in SCDF 1.2.3.RELEASE and CTR 1.0.0.RELEASE, if particular task in composed task has been completed, CTR doesn't execute it again.
Markiza
  • 444
  • 1
  • 5
  • 18
0
votes
1 answer

Not able to execute task using spring cloud stream

I have three application as source , processor and sink. Source is able to pass message to processor but processor is not able to send message to sink and throwing exception. Trying is execute task using spring cloud stream locally, so I have…
rocky
  • 737
  • 4
  • 11
  • 19
0
votes
1 answer

Spring Cloud DataFlow Composed Task doesn't start

I'm trying to run SCDF Composed Task. Any composed tasks that I create does the same thing: executes SQL script: Executing SQL script from class path resource [org/springframework/cloud/task/schema-h2.sql]` And on that point execution pauses. In…
0
votes
0 answers

batch-job example in spring cloud dataflow

batch-job example seems doesn't works when I try deployed it in SpringCloudDataFlow local. To make test I've used spring-cloud-task 1.2.1.RELEASE and cloud-dataflow-server-local-1.2.3.RELEASE. To make test I've follow these steps: Build…
fbalicchia
  • 67
  • 1
  • 3
0
votes
2 answers

Unable to deploy/run tasks on Pivotal CF from Spring Cloud Dataflow container error CF-UnprocessableEntity(10008)

Trying to deploy a Java Spring Boot App/Task using Spring Cloud Data Flow. But it fails with foloowing exception CF-UnprocessableEntity(10008): The request is semantically invalid: Task must have a droplet. Specify droplet or assign current droplet…
0
votes
2 answers

TaskLauncher cloudfoundry Problems with Tasklaunching

I try to use the task-launcher-cloudfoundry-sink-rabbit-1.2.0.RELEASE but when the Task is creating and is in Staging Mode the Task crashed. Any Ideas? the Tasklauncher log : `2017-06-28T13:34:58.95+0200 [APP/PROC/WEB/0] OUT 2017-06-28 11:34:58.954 …
0
votes
1 answer

spring-cloud-task how to pass messages or flag between two apps

I have already made a Ingestion job using spring batch which reads xml file and ingest into AEM and its working fine. Now, I am trying to convert this apps into Spring cloud Task. I want to split this apps into 4 different part which is individual…
0
votes
1 answer

Launching a Task via Http use Cloudsteam and Cloudfoundary Tasklauncher

I Try to start a Spring Cloud Task by Message (Http Post). http-->Processor("Transform the Message into an Tasklaunchrequest")-->CloudFoundaryTasklauncher. I use 3 seperate services HTTP-Cnntroller(Source)…
0
votes
1 answer

ways in which the spring cloud task post the response back to the caller

I created a spring cloud task to create a new user in my db,is there any way to post the successfull response message back to my rest service ?,from which i invoked this task.
0
votes
2 answers

Error when launching Spring Cloud Task batch-job on Pivotal Cloud Foundry

I registered the batch-job task from https://repo.spring.io/libs-snapshot/io/spring/cloud/batch-job/1.0.0.RELEASE/ in Pivotal Cloud Foundry. When launching the task I see the error CF-UnprocessableEntity(10008): Task must have a droplet. Specify…
sam
  • 133
  • 1
  • 1
  • 11
0
votes
0 answers

Partial info stored in task repository when execute tasks

I am running a simple hello world task. I am running the spring cloud data flow server backed by a Postgres db. When I execute my task and then query the data flow server, I see: dataflow:>task execution…
0
votes
1 answer

Using logstash, config server and eureka with spring cloud task and dataflow

We have an existing microservice environment with logstash, config and eureka servers. We are now setting up a Spring Cloud Dataflow (Kubernetes) environment (primarily intially to run tasks/batch jobs). Ideally we would like the tasks to use the…