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

@EnableTask annotation does not support DB2 on Mainframe on DB2ZOS

We had a problem statement to convert a Mainframe DB2 long running job to convert to Spring Cloud Task. It was working fine as a Spring Boot Ap, but when we tried to convert it to Spring cloud task as mentioned in…
penguin
  • 21
  • 3
0
votes
1 answer

Clarification about task executed as a source with spring cloud stream

When reading this documentation, it seems that we can write a microservice with @EnableTask that has a source whose emitted messages are recorded as an execution step by spring-cloud-task. I would like to have several clarifications about this…
0
votes
1 answer

Spring Cloud Task Integration Testing

I’m looking for some guidance on the best way of writing integration (ie tests for entire Spring Boot Application) for Spring Cloud Task. Based on existing documentation and samples I see two approaches for this: 1) Use the standard @SpringBootTest…
David Geary
  • 1,756
  • 2
  • 14
  • 23
0
votes
1 answer

Running multiple spring cloud task jobs within Spring Cloud data flow container on PCF

I am trying to execute multiple spring cloud task jobs within spring cloud data flow container on PCF. These jobs reads the raw file from a http source and then parses it and writes that to mysql db.These jobs are written in plain java and not…
0
votes
2 answers

How to handle global resources in spring cloud dataflow?

I'm learning the concepts of spring cloud dataflow and wondering what is the common way of storing global resources. For example, when I have a stream with a pmml-processor and I would like to retrain the underlying pmml-model periodically via a…
0
votes
1 answer

Spring Cloud Data Flow Task execution monitoring

We have been looking into spring cloud task. It looks very promising but we seem to be missing how monitoring should work, especially for tasks that are executed from a stream. For tasks manually executed from the dashboard there is an execution…
0
votes
0 answers

Control Spring Cloud Task Launcher

I am launching tasks from cloud stream as this state . Is it possible to control how many simultaneous tasks can be run to make sure our system is not abused .
Shahbour
  • 1,323
  • 1
  • 16
  • 42
0
votes
1 answer

How to properly create Spring Cloud Task with custom parameters?

According to the samples here (actually - timestamp task), I have implemented a small task class: @SpringBootApplication @EnableTask @EnableConfigurationProperties({ RestProcessorTaskProperties.class }) public class RestProcessorTaskApplication { …
0
votes
1 answer

Can a Spring Cloud Stream in Spring Cloud Data Flow be triggered?

We have a scenario wherein we have to process each entry of data in a database table. But this should be user triggered when they will decide to start the processing. We are happy with the stream processing since we could decouple each process…
0
votes
1 answer

Can Spring Cloud Task's Partitioned Job be executed in Spring Cloud Data Flow?

I am trying to setup and execute the Spring Cloud Tasks Sample of partitioned batch job (https://github.com/spring-cloud/spring-cloud-task/tree/master/spring-cloud-task-samples/partitioned-batch-job) in Spring Cloud Data Flow Server. But for some…
J.D.
  • 23
  • 2
0
votes
1 answer

Lauching a Task at a time from a Stream

I am using the File Source stream component to read files from a directory and send a File instance to a custom processor that reads the file and launches a specific task using a TaskLauncher sink. If I drop 5 files in the directory, 5 tasks launch…
franktylerva
  • 91
  • 1
  • 4
0
votes
1 answer

Spring Data Flow Yarn - unable access jarfile

I try to run simple spring batch task on Spring Cloud Data Flow for Yarn. Unfortunatelly while running it I got error message in ResourceManager UI: Application application_1473838120587_5156 failed 1 times due to AM Container for…
0
votes
1 answer

Spring Cloud components confusion

How do these Spring components relate/differ to/from each other? What does each represent conceptually? Would one use them together or are they competing projects? Spring Cloud Data Flow Spring Cloud Stream Spring Cloud Task Spring Cloud Task App…
0
votes
1 answer

Spring Cloud Task for functional programming - how really to achieve it?

We have a need to develop on-demand applications on the lines of FRP (something similar to AWS Lambda) on our private Cloud Foundry stack. This is in order to save cost on otherwise always running low volume applications. The need is to…
0
votes
2 answers

Unable to launch task from a spring cloud data flow stream

I registered my task app in Spring Cloud Data Flow, created a definition for it and the status shows 'unknown'. I created the stream and trying to launch the task through task-sink and I get an error: java.lang.IllegalStateException: failed to…
1 2 3
17
18