问题
1) I have registered a sink app on PCF using cf push -p abcdef.jar sinkapp. it went good
2) Now I have my SCDF server also on PCF
How can I register sinkapp on the SCDF server using dataflow which is on the same PCF , same org, same space. coz I have no clue what do I reference this to for registering it ? I am looking for the command that I can give to the SCDF from dataflow shell.
Thank you.
回答1:
I'd highly recommend going through the getting-started experience for Cloud Foundry.
You should not be pushing the apps standalone and manually; instead, you'd "register" the app(s) in SCDF, and you'd then use the registered app(s) in the stream definition.
When you deploy the stream, SCDF will interpret the definition and in turn, it will push the apps to the desired org/space on your behalf. Here's a sample manifest for SCDF, where you'd define the org/space and other overrides.
来源:https://stackoverflow.com/questions/48572503/need-help-on-registering-app-on-pcf-with-spring-cloud-data-flow-which-is-also-on