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 likely due to Spring Boot's /health and /info endpoints not accessible by SCDF at runtime. In Spring Cloud Stream v2.0 and above, you'd have to explicitly add "actuator" and "web" dependencies to a Spring Cloud Stream application; they are optional from the framework perspective.

See more details here.

With those dependencies packed in the classpath and upon the redeployment of the stream, you should be able to see the status as Deployed.



来源:https://stackoverflow.com/questions/54315857/spring-cloud-dataflow-custom-app-stuck-in-deploying-state

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!