spring-cloud-dataflow

Spring Cloud data Flow on CloudFoundry

六月ゝ 毕业季﹏ 提交于 2019-12-12 04:55:29
问题 I have pushed the 1.2.2 version of spring cloud data flow server into PCF (Pivotal Cloud Foundry). I registered an app using maven but creating a task from the App using Flo UI fails with following exception trace, they are a bit unintelligible but looks like there is a ConnectException when trying to connect to default config server at http://localhost:8888. I do not need a config server for now. How do I get rid of this and get on with life? - By the way I am trying to create an on-demand

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

空扰寡人 提交于 2019-12-12 04:14:24
问题 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 to app. Tried the solutions below by SPRING_CLOUD_DEPLOYER_CLOUDFOUNDRY_API-TIMEOUT to 720 and SPRING_CLOUD_DEPLOYER_CLOUDFOUNDRY_TASK_TASK_TIMEOUT to 360 did not work. TaskLauncher cloudfoundry Problems with Tasklaunching https://github.com/spring

Spring Cloud Task status shown as complete even when the batch job fails

谁说我不能喝 提交于 2019-12-11 19:47:53
问题 I have a task with 2 batch jobs, both jobs run but one of them fails. The status of the particular task is still shown as complete. i read about setting the spring.cloud.task.batch.failOnJobFailure property. When i set this property to true while running the task it gives me the following error: o.s.boot.SpringApplication : Application startup failed java.lang.AbstractMethodError: null at org.springframework.beans.factory.support.AbstractBeanFactory.isSingleton(AbstractBeanFactory.java:402) ~

Need help on Registering App on PCF with Spring Cloud Data Flow which is also on PCF

本小妞迷上赌 提交于 2019-12-11 17:05:13
问题 1) I have registered a sink app on PCF using cf push -p abcdef.jar sinkapp. it went good 2) Now I have my SCDF server also on PCF How can I register sinkapp on the SCDF server using dataflow which is on the same PCF , same org, same space. coz I have no clue what do I reference this to for registering it ? I am looking for the command that I can give to the SCDF from dataflow shell. Thank you. 回答1: I'd highly recommend going through the getting-started experience for Cloud Foundry. You should

setup spring batch admin console UI with springboot

柔情痞子 提交于 2019-12-11 16:56:55
问题 I am working on migrating existing spring application to spring boot. application has spring batch jobs. I would want to know the configuration to setup spring batch console UI with spring boot. Existing batch jobs are configured in xml which we want to keep as it is. spring batch admin version : 1.2.2.RELEASE spring boot version : 1.5.10.RELEASE just an addition so the application basically use jersey for rest services and the same application has spring batch jobs. so my intend is to keep

Configuring a Spring Cloud Data Flow Task with its own Database

折月煮酒 提交于 2019-12-11 15:37:23
问题 I have a task application with its own database that I'd like to run in Spring Cloud Data Flow. My problem is that SCDF overwrites the datasource configuration in the task with the datasource configuration for SCDF. (Both databases are Oracle DBs.) My task should write to a different database (but I also want to know its status in SCDF database). How is it possible to configure my task to connect to its own database as well as to SCDF's database? 回答1: I found the solution. I defined both data

Unable to launch task on Spring Cloud Data Flow Pivotal Cloud Foundry

╄→尐↘猪︶ㄣ 提交于 2019-12-11 09:18:57
问题 System Information Spring Cloud Data Flow Cloud Foundry: v1.1.0.RELEASE Pivotal Cloud Foundry: v1.7.12 CF Client (Windows): cf.exe version 6.23.1+a70deb3.2017-01-13 cf-v3-plugin: 0.6.7 Launching the timestamp task app with no parameters fails. Logs from Spring Cloud Data Flow Server show the following stack trace at https://gist.github.com/anonymous/420f3928b7831a11b378fc6792be1ffc. Running cf v3-apps outputs name total_desired_instances ticktock-ts 0 Then cf v3-rt ticktock-ts start now

How to set scheduler for Spring Batch jobs in Spring Cloud Data Flow?

风流意气都作罢 提交于 2019-12-11 06:58:09
问题 I’m setting up a new Spring Batch Jobs and want to deploy it using SCDF . However, I have found that SCDF does not support scheduler feature in local framework . I have 3 questions to ask you: Can someone explain how scheduler of SCDF work? Are there any ways to schedule 1 job using SCDF ? Can I use my local server as a Cloud Foundry? and how? 回答1: Yes, Spring Cloud Data Flow does not support scheduling on local platform. Please note that the local SCDF server is for development purposes only

multi output binding in spring cloud data flow

浪子不回头ぞ 提交于 2019-12-11 04:15:35
问题 I'm trying to setup a multi-destination bindings but for some reason, messages from the second channel are going to the first exchange.queue . For example: spring: cloud: stream: bindings: output: destination: exchange1 producer.requiredGroups: queue1 output-other: destination: exchange2 producer.requiredGroups: queue2 I also used org.springframework.cloud.stream.messaging.Source for the default Output and created a dedicated Source Binding for output-other channel public interface

Spring cloud data flow with spring batch job - scaling considerations

隐身守侯 提交于 2019-12-10 20:57:14
问题 We are currently in evaluation process shifting from Spring batch + Batch Admin into Spring Cloud based infrastructure. our main challenges / questions: 1. As part of the monolithic design of the spring batch jobs we are fetching some general MD and aggregated it into common data structure that many jobs using to run in a more optimized way. is the nature of the SCDF Tasks going to be a problem in our case ? should we reconsider shifting into Streams ? and how its can be done ? 2. One of the