spring-cloud-dataflow

A job instance already exists and is complete for parameters={-spring.cloud.task.executionid=2}. If you want to run this job again, change the parame

≡放荡痞女 提交于 2020-05-28 08:31:45
问题 I am working on Spring Cloud Data Flow and Spring Batch by taking a reference from https://github.com/spring-cloud/spring-cloud-task/tree/master/spring-cloud-task-samples. I'm executing the batch-job and when executed this example two times, on 2nd time I observed the error, however for the first time it worked fine. I started the spring-cloud-dataflow-server-local server using below commands and it created all metadata for me- highlighted in yellow. Error: exitCode=null, taskName='batch-job'

Caused by: org.flywaydb.core.api.FlywayException: Migration failed ! and Spring Cloud DataFlow

☆樱花仙子☆ 提交于 2020-05-26 09:34:43
问题 I'm working on Spring batch and Spring Cloud Data Flow example. In this example, I've developed spring-cloud-data-flow-server and MySQL DB instead of default H2 DB by taking reference from Database Configs for MySQL DB It looks like there is a issue with the Flyways and MySQL version as latest version of Flyways doesn't pickup the latest version of MySQL DB . Error: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flywayInitializer' defined in class path

SCDF - Create Metadata tables in different schema and work the Batch Job with different schema

一曲冷凌霜 提交于 2020-05-12 08:53:34
问题 The bounty expires in 3 days . Answers to this question are eligible for a +50 reputation bounty. Jeff Cook is looking for an answer from a reputable source : Need proper guidance on this issue and need more clear sample example or response I'm using Spring Batch which loads data from Oracle and put it into the MongoDB . I'm looking to use the Spring Cloud Data Flow , but SCDF doesn't have support for the MongoDB . Is there any way if we can maintain the SCDF Metadata into the Postgres (as

Spring Cloud DataFlow and MySQL doesn't show the START_TIME and END_TIME of the Task

↘锁芯ラ 提交于 2020-05-08 05:53:12
问题 I'm working on Spring batch and SCDF example. In this example I am reading CSV file and loading all the data to MySQL . I was able to successfully load the data into MySQL DB, but but UI doesn't show me START_TIME and END_TIME , even db doesn't holds any records. I've uploaded my code here: https://github.com/JavaNeed/spring-cloud-dataflow-example1.git spring-cloud-data-flow-server SpringCloudDataFlowServerApplication.java @EnableDataFlowServer @SpringBootApplication(exclude = {

Spring Cloud DataFlow and MySQL doesn't show the START_TIME and END_TIME of the Task

南笙酒味 提交于 2020-05-08 05:53:12
问题 I'm working on Spring batch and SCDF example. In this example I am reading CSV file and loading all the data to MySQL . I was able to successfully load the data into MySQL DB, but but UI doesn't show me START_TIME and END_TIME , even db doesn't holds any records. I've uploaded my code here: https://github.com/JavaNeed/spring-cloud-dataflow-example1.git spring-cloud-data-flow-server SpringCloudDataFlowServerApplication.java @EnableDataFlowServer @SpringBootApplication(exclude = {

Spring Cloud Dataflow Custom App stuck in Deploying state

喜夏-厌秋 提交于 2020-05-01 03:58:54
问题 I created a custom Spring Cloud Stream Processor Application and deployed it as the processor step in a Source|Processor|Sink stream. Everything seems to be working fine, but my custom app shows "deploying" in the dataflow UI. I'm deploying it as a SNAPSHOT from mavenLocal if that affects anything. Am I missing something to let SCDF know the deployment was successful? 回答1: The usual culprit, in this case, is the unavailability of Boot's actuator endpoints at runtime. More specifically, it is

SCDF Stream Processor/Sink Apps not working if the function binding names aren't same

偶尔善良 提交于 2020-04-30 10:10:25
问题 This is a continuation of previous stackoverflow question Adding additional details for follow up issue. Spring Boot version 2.2.4 Cloud Version Hoxton.SR1 My Processor App @SpringBootApplication public class FunctionStreamSampleApplication { public static void main(String[] args) { SpringApplication.run(FunctionStreamSampleApplication.class, args); } @Bean public Function<String, String> messenger() { return data -> "Hello : " + data.toUpperCase() + "!"; } } Processor Config: spring: cloud:

SCDF Stream Processor/Sink Apps not working if the function binding names aren't same

一笑奈何 提交于 2020-04-30 10:08:51
问题 This is a continuation of previous stackoverflow question Adding additional details for follow up issue. Spring Boot version 2.2.4 Cloud Version Hoxton.SR1 My Processor App @SpringBootApplication public class FunctionStreamSampleApplication { public static void main(String[] args) { SpringApplication.run(FunctionStreamSampleApplication.class, args); } @Bean public Function<String, String> messenger() { return data -> "Hello : " + data.toUpperCase() + "!"; } } Processor Config: spring: cloud:

Processor App in Spring Boot 2.2.4/Hoxton.SR1 not working in Spring Cloud Data Flow 2.4.1

混江龙づ霸主 提交于 2020-04-18 03:52:07
问题 I am trying to develop a new application to work on SCDF 2.4.1 and Skipper 2.3.1 I took the samples from https://github.com/sabbyanandan/stream-programming-models I built them locally. Downloaded the docker compose for SCDF kafka, set the Versions and mount my repo and start my docker compose. When I deploy the "function" module and create a simple stream http | customUpper | log I see the sample working fine and able to see log output as expected. When I modify the function stream app, to

Processor App in Spring Boot 2.2.4/Hoxton.SR1 not working in Spring Cloud Data Flow 2.4.1

有些话、适合烂在心里 提交于 2020-04-18 03:51:19
问题 I am trying to develop a new application to work on SCDF 2.4.1 and Skipper 2.3.1 I took the samples from https://github.com/sabbyanandan/stream-programming-models I built them locally. Downloaded the docker compose for SCDF kafka, set the Versions and mount my repo and start my docker compose. When I deploy the "function" module and create a simple stream http | customUpper | log I see the sample working fine and able to see log output as expected. When I modify the function stream app, to