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

Identifying the Right Spring Boot Starter

I wanted to build a Application which listens to a queue and does a series of steps. Basically the application should listen to Queue1 and: - Get some data from ServiceA[Small amount of data] - Get some data from ServiceB[Small amount of data] …
ayushmad
  • 619
  • 1
  • 6
  • 9
0
votes
1 answer

Need to configure my JPA layer to use a TransactionManager (Spring Cloud Task + Batch register a PlatformTransactionManager unexpectedly)

I am using Spring Cloud Task + Batch in a project. I plan to use different datasources for business data and Spring audit data on the task. So I configured something like: @Bean public TaskConfigurer taskConfigurer() { return new…
Whimusical
  • 6,401
  • 11
  • 62
  • 105
0
votes
1 answer

Composed Task Properties

we have a scenario where we want to pass the same properties to all tasks in a composed. app.composed-task-runner.composed-task-arguments='c=d,a=b' doesn’t work. version used 2.0.0.M2
0
votes
1 answer

Configure Spring Cloud Task to use Kafa of Spring Cloud Data Flow server

I have a Spring Cloud Data Flow (SCDF) server running on Kubernetes cluster with Kafka as the message broker. Now I am trying to launch a Spring Cloud Task (SCT) that writes to a topic in Kafka. I would like the SCT to use the same Kafka that SCDF…
Phuong Hoang
  • 461
  • 1
  • 6
  • 12
0
votes
1 answer

Composed task doesnt show the actual graph

I have created a composed task on SCDF platform(kubernetes) in my local environment. The composed tasks consisted of multiple individual tasks. When the composed task is viewed in graph mode, it does not show all the tasks. It shows the following…
mengjiann
  • 275
  • 3
  • 12
0
votes
1 answer

Spring Cloud Task App - composed-task-runner doesnt shutdown

I have created a composed task on SCDF platform(kubernetes) in my local environment. But I wonder why the composed task doesnt stop after all the individual tasks stop. spring-cloud-dataflow-server-kubernetes: 1.7.2.RELEASE Composed task runner…
mengjiann
  • 275
  • 3
  • 12
0
votes
1 answer

how to register a spring cloud task java jar into spring data flow kubernetes

I am just curious about the register method on the spring data flow kubernetes document. why do we use --uri a docker image at the same time we also use --metadata a jar. Can we just use one of them to register? app register --type source --name…
0
votes
0 answers

published message from cloud spring code to rabbitmq not being queued

publishing a msg from my cloud spring code to rabbitmq not being added to the rabbitmq queue, i have a sink app that creates the rabbitmq Exchange and Queue , that is working fine. next im using postman post some arguments, this payload is being…
0
votes
2 answers

Individual task in composed task is not exiting

I used composed task runner to run two tasks. These two tasks refer to simple spring boot applications. While launching the composed task, the first applications in the graph gets executed, but not exiting. Hence, the second application is not…
0
votes
1 answer

task-launcher-cloudfoundry Application is getting into disk out of memory after several times launching of task

I launched a task using trigger task for every 20 min | task-launcher-cloudfoundry in PCF. task-launcher-cloudfoundry generally downloads the task jar supplied by trigger task and keep inside temp folder like ``` Downloading…
keerthi
  • 58
  • 8
0
votes
0 answers

How to pass data between tasks in Spring Cloud Composed Task?

It appears to me that out of the box Spring Cloud Composed Task does not support passing parameters between tasks. Can you please suggest some options for the below requirement? a) I have a composed task in which downloader is the first task, once…
0
votes
1 answer

Spring Batch Remote Partitioning

I would like to understand the integration between DeployerPartitionHandler and DeployerStepExecutionHandler during Remote Partitioning. How does the start time, end time, execution status of the parent task execution is updated when there are…
Sabari
  • 127
  • 1
  • 13
0
votes
1 answer

Easier way to find pods and look at logs for a job in spring cloud dataflow kubernetes

Currently, when I launch a task in spring cloud dataflow it starts a pod inside which the task and the inherent jobs run. That pod has a naming convention of task name followed by a random ID. I wanted to know if I can maybe map it to the task…
0
votes
1 answer

Error while using spring cloud task with rabbit mq stream

I am creating an application which uses spring cloud task and rabbit mq stream starter. But on application startup it it failing with below error: 2018-10-25 10:05:57.123 INFO 2512 --- [ main] .s.c.t.i.CloudTaskIntakeApplicationTests :…
Abhilash
  • 803
  • 1
  • 9
  • 32
0
votes
1 answer

How to redirect spring cloud task logs into spring cloud task sink application?

I am having a Spring cloud Task sink application, that will trigger the Spring cloud Task. @SpringBootApplication @EnableBinding(Sink.class) @RestController @EnableScheduling @EnableTaskLauncher @Slf4j public class…