使用Spring Cloud数据流,尝试部署一个简单的作业,但是卡住了,部署未完成

时间:2018-09-26 12:05:54

标签: spring spring-cloud spring-cloud-stream spring-cloud-dataflow

this之后。

我正在尝试部署一项流作业,

但是工作卡住了,从未部署过,但是在Web UI中,它的状态为“已部署”

2018-09-26 17:30:21.817  INFO 83184 --- [nio-9393-exec-5] o.s.c.d.s.s.AppDeployerStreamDeployer    : Deploying application named [file] as part of stream named [Upper-Case-Stream-1] with resource URI [maven://org.springframework.cloud.stream.app:file-sink-rabbit:jar:1.3.1.RELEASE]
2018-09-26 17:30:22.738  INFO 83184 --- [nio-9393-exec-5] o.s.c.d.spi.local.LocalAppDeployer       : Deploying app with deploymentId Upper-Case-Stream-1.file instance 0.
   Logs will be in /var/folders/nr/yyxxzlcj1gqfwgbp7mn9l610q3vvqq/T/spring-cloud-dataflow-6132231081394360554/Upper-Case-Stream-1-1537963221817/Upper-Case-Stream-1.file
2018-09-26 17:30:22.747  INFO 83184 --- [nio-9393-exec-5] o.s.c.d.s.s.AppDeployerStreamDeployer    : Deploying application named [transform] as part of stream named [Upper-Case-Stream-1] with resource URI [maven://org.springframework.cloud.stream.app:transform-processor-rabbit:jar:1.3.1.RELEASE]
2018-09-26 17:30:22.754  INFO 83184 --- [nio-9393-exec-5] o.s.c.d.spi.local.LocalAppDeployer       : Deploying app with deploymentId Upper-Case-Stream-1.transform instance 0.
   Logs will be in /var/folders/nr/yyxxzlcj1gqfwgbp7mn9l610q3vvqq/T/spring-cloud-dataflow-6132231081394360554/Upper-Case-Stream-1-1537963222747/Upper-Case-Stream-1.transform
2018-09-26 17:30:22.757  INFO 83184 --- [nio-9393-exec-5] o.s.c.d.s.s.AppDeployerStreamDeployer    : Deploying application named [http] as part of stream named [Upper-Case-Stream-1] with resource URI [maven://org.springframework.cloud.stream.app:http-source-rabbit:jar:1.3.1.RELEASE]
2018-09-26 17:30:22.764  INFO 83184 --- [nio-9393-exec-5] o.s.c.d.spi.local.LocalAppDeployer       : Deploying app with deploymentId Upper-Case-Stream-1.http instance 0.
   Logs will be in /var/folders/nr/yyxxzlcj1gqfwgbp7mn9l610q3vvqq/T/spring-cloud-dataflow-6132231081394360554/Upper-Case-Stream-1-1537963222757/Upper-Case-Stream-1.http

1 个答案:

答案 0 :(得分:0)

似乎已部署了Apps,但不清楚为什么您认为流处于阻塞状态。

如果应用无法成功启动,则每个特定于应用的日志将包含有关原因的详细信息。

或者,当您使用inheritLogging=true功能部署流时,将直接在服务器控制台中将所有应用程序日志作为聚合输出看到。这是在本地调试的便捷方法。特别是当您处于开发模式时。