Spring Cloud Dataflow Custom App stuck in Deploying state

前端 未结 1 1811
小鲜肉
小鲜肉 2021-01-24 22:05

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 m

1条回答
  •  后悔当初
    2021-01-24 22:35

    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.

    0 讨论(0)
提交回复
热议问题