spring-cloud-dataflow - SCDF 流(时间)不在本地选择组合任务运行器
问题描述
在 SCDF (2.6.3) 中尝试创建流来启动复合任务,但没有选择,我错过了什么?
组合任务创建名称为comp-task : AA && BB 我可以手动运行这个组合任务,它同时执行 AA 和 BB 并正常退出。
当我试图通过流运行时,它甚至没有在 cron 中定义。我的任务定义:
stream create ctr-stream-1 --definition "time --cron='0 0/5 0 ? * *' --task.launch.request.task-name=composed-task-launcher --task.launch.request.args=--graph=comp-task,--increment-instance-enabled=true | task-launcher-dataflow"
我的环境详细信息:
{
"versionInfo": {
"implementation": {
"name": "spring-cloud-dataflow-server",
"version": "2.6.3"
},
"core": {
"name": "Spring Cloud Data Flow Core",
"version": "2.6.3"
},
"dashboard": {
"name": "Spring Cloud Dataflow UI",
"version": "2.5.1"
},
"shell": {
"name": "Spring Cloud Data Flow Shell",
"version": "2.6.3",
"url": "https://repo1.maven.org/maven2/org/springframework/cloud/spring-cloud-dataflow-shell/2.6.3/spring-cloud-dataflow-shell-2.6.3.jar"
}
},
"featureInfo": {
"streamsEnabled": true,
"tasksEnabled": true,
"schedulesEnabled": true,
"grafanaEnabled": false,
"wavefrontEnabled": false
},
"securityInfo": {
"isAuthenticationEnabled": false,
"isAuthenticated": false,
"username": null,
"roles": []
},
"runtimeEnvironment": {
"appDeployer": {
"platformSpecificInfo": {},
"deployerImplementationVersion": "2.5.2",
"deployerName": "Spring Cloud Skipper Server",
"deployerSpiVersion": "2.5.2",
"javaVersion": "11.0.6",
"platformApiVersion": "",
"platformClientVersion": "",
"platformHostVersion": "",
"platformType": "Skipper Managed",
"springBootVersion": "2.2.8.RELEASE",
"springVersion": "5.2.7.RELEASE"
},
"taskLaunchers": [
{
"platformSpecificInfo": {},
"deployerImplementationVersion": "2.4.1",
"deployerName": "LocalTaskLauncher",
"deployerSpiVersion": "2.4.1",
"javaVersion": "11.0.6",
"platformApiVersion": "Windows 10 10.0",
"platformClientVersion": "10.0",
"platformHostVersion": "10.0",
"platformType": "Local",
"springBootVersion": "2.2.8.RELEASE",
"springVersion": "5.2.7.RELEASE"
}
]
},
"grafanaInfo": {
"url": "",
"token": "",
"refreshInterval": 15
},
"monitoringDashboardInfo": {
"url": "",
"token": "",
"refreshInterval": 15,
"source": "default-scdf-source"
}
}
解决方案
当您想要创建/启动组合任务时,您不一定需要创建流。本页将引导您了解如何创建组合任务并将其作为任务应用程序启动。
如果要调度组合任务应用程序,还需要记住本地部署不支持调度任务应用程序。
推荐阅读
- logging - 如何制作 Makefile 以将命令及其输出记录到文件中?
- html - 仅当我将其作为内部 css 进行时,更改我的列表图像才有效?
- java - java.lang.NoSuchMethodError: org.elasticsearch.action.bulk.BulkRequest.pipeline()Ljava/lang/String;
- c - printf 性能:最好将“%d”或“%c”用于单个数字
- r - 按最大日期删除行
- python-2.7 - 使用 args 从 python 执行 windows cmd 命令
- r - 无法让我的 R 闪亮应用程序显示 ggplot 图
- r - 如何将列表列转换为R中tibble中的向量
- javascript - 在本地存储中将具有相同 id 的项目添加到一起
- javascript - 无法使用 node-static 找到 localhost 页面