问题标签 [spring-cloud-dataflow-ui]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
1554 浏览

spring-cloud-dataflow - 作业实例已存在且已完成参数={-spring.cloud.task.executionid=2}。如果要再次运行此作业,请更改参数

我正在Spring Cloud Data Flow and Spring Batch通过参考https://github.com/spring-cloud/spring-cloud-task/tree/master/spring-cloud-task-samples进行工作。

我正在执行批处理作业,当两次执行此示例时,第二次我观察到错误,但是第一次它工作正常。

我使用以下命令启动了spring-cloud-dataflow-server-local服务器,它为我创建了所有元数据 - 以黄色突出显示。

错误:

在此处输入图像描述

在第二次执行任务时,我收到以下错误。

在此处输入图像描述

在此处输入图像描述

批处理作业应用程序.java

0 投票
1 回答
249 浏览

spring-cloud-dataflow - Spring Cloud 数据流授权仅配置

我们有一个要求,我们只需要在 Spring Cloud Dataflow 服务器中启用授权。身份验证将通过内部工具完成。已尝试仅使用授权配置而忽略身份验证配置。但是即使没有带有授权令牌的标头,也可以访问端点。请帮助配置仅使用 SCDF 服务器启用授权。

数据流服务器版本:2.3.0.RELEASE

0 投票
1 回答
886 浏览

spring-cloud-dataflow - Spring Cloud Data Flow Grafana(Prometheus)不显示流数据

在 Kubernetes 上安装 Spring Cloud Dataflow(在 DockerDesktop 上运行)。

按照安装指南https://dataflow.spring.io/docs/installation/kubernetes/kubectl/配置 Grafana 和 Prometheus

从启动应用程序创建并部署了一个带有时间(源)和日志(接收器)的简单流。

在 UI 中选择流仪表板图标时,导航到 grafana 仪表板,但看不到流和相关指标。

我在这里缺少任何配置吗?

吊舱 服务 在 Prometheus 代理日志中看不到任何操作,因为它启动了 scdf-server 配置映射Prometheus 代理日志

Prometheus 数据源测试

已部署的流 流没有出现在 grafana

格拉法纳之家

[以下修复了问题]

我在 Applications.Properties 中更新了下面设置的流定义,它开始正常工作。

management.metrics.export.prometheus.rsocket.host=prometheus-proxy

修改后的流属性 Grafana - 现在按预期工作

0 投票
1 回答
192 浏览

spring-cloud-dataflow - spring-cloud-starter-dataflow-server(数据流服务器启动器)和spring-cloud-starter-dataflow-server-local(本地数据流服务器)的区别

我最近开始了解 Spring Cloud Data Flow,也称为 SCDF。我刚刚开始查看https://codenotfound.com/spring-batch-admin-example.html这似乎非常好的示例,还需要更多示例才能真正了解 Spring Cloud Data Flow 与 Spring Batch 的使用,如我对 Spring Batch 有很好的经验。

spring-cloud-starter-dataflow-server(Data Flow Server Starter) 和spring-cloud-starter-dataflow-server-local(Local Data Flow Server Starter)有什么区别?

0 投票
1 回答
391 浏览

spring-cloud-dataflow - Spring Cloud Dataflow 任务执行在后续运行中失败

名称:spring-cloud-dataflow-server 版本:2.5.0.BUILD-SNAPSHOT

我创建了一个非常简单的任务。首先运行它总是可以正常完成,没有任何问题。如果任务再次运行,它会失败并出现以下错误。

任务图 任务定义 第一次运行 - 没有问题 首次运行 - 作业日志 相同任务的后续启动失败并出现以下异常,并且在前一次执行完全完成后重新运行。如果一个任务运行一次就不能再次运行吗? (来自任务执行详细信息的日志 - 执行 ID:246)后续运行失败

0 投票
1 回答
1615 浏览

flyway - 引起:org.flywaydb.core.internal.license.FlywayEditionUpgradeRequiredException: Flyway Enterprise Edition or MySQL upgrade required: MySQL 5.5-SCDF

我正在研究Spring Batch and SCDF示例。在此示例中,我正在pring-cloud-data-flow-server使用 Spring Boot 代码创建 s 并尝试通过查看以下内容连接到 MySQL DB:SCDF Task DB Configurations,但出现以下错误。

错误:

SpringCloudDataFlowServerApplication.java

应用程序属性

pom.xml

0 投票
2 回答
2911 浏览

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

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:

pom.xml

application.properties

SpringCloudDataFlowServerApplication.java

0 投票
0 回答
337 浏览

spring-cloud-dataflow - org.springframework.jdbc.BadSqlGrammarException: PreparedStatementCallback; 错误的 SQL 语法 [SELECT DEFINITION_NAME, DEFINITION FROM TASK_DEFINITIONS

我正在使用 Spring Batch 和 SCDF 示例。我使用以下命令启动 DataFlow 服务器。

java -jar spring-cloud-dataflow-server-local-1.7.4.RELEASE.jar --spring.datasource.url=jdbc:mysql://localhost:3306/test --spring.datasource.username=root -- spring.datasource.password=root --spring.datasource.driver-class-name=org.mariadb.jdbc.Driver &

当我启动任务选项卡时:http://localhost:9393/dashboard/#/tasks/definitions,我收到以下错误。

在此处输入图像描述

0 投票
1 回答
644 浏览

spring - Spring Cloud DataFlow 和 MySQL 不显示任务的 START_TIME 和 END_TIME

我正在研究Spring batch and SCDF示例。在此示例中,我正在读取CSV文件并将所有数据加载到MySQL. 我能够成功地将数据加载到 MySQL DB 中,但是 UI 没有显示START_TIMEEND_TIME甚至 db 也没有任何记录。

我在这里上传了我的代码:https ://github.com/JavaNeed/spring-cloud-dataflow-example1.git

弹簧云数据流服务器

SpringCloudDataFlowServerApplication.java

应用程序属性

pom.xml

JobConfig.java

应用程序属性

在此处输入图像描述

在此处输入图像描述

在此处输入图像描述

0 投票
0 回答
200 浏览

spring - SCDF - 在不同的模式中创建元数据表并使用不同的模式处理批处理作业

我正在使用Spring Batchwhich 从加载数据Oracle并将其放入MongoDB. 我正在寻找使用Spring Cloud Data Flow,但SCDF不支持MongoDB.

如果我们可以将SCDF元数据维护到Postgres(因为它有很好的支持)或 H2 中,有什么办法吗?在这个例子中,我使用了 H2,并运行将数据从 Oracle 加载到MongoDB.

当我尝试运行此组合时,我收到以下错误,当然一些配置更改需要 tweek。有什么快速的解决方法吗?

错误:

应用程序属性

配置

配置