Commissioning the Flink SpringBoot Sample Program
This section applies to MRS 3.3.0 or later.
Running the Spring Boot Sample in CLI
- Use Maven to run install on the IDEA.
If "BUILD SUCCESS" is displayed, the compilation is successful. A JAR file containing the flink-dws-sink-example-1.0.0-SNAPSHOT field is generated in the target directory of the sample project.
- On Linux, go to the client installation directory, for example, /opt/client/Flink/flink/conf, and save the JAR packages whose names contain flink-dws-sink-example-1.0.0-SNAPSHOT in the target directory generated in to this directory.
- Run the following command to create a Yarn session:
yarn-session.sh -t ssl/ -nm "session-spring11" -d
- Run the following command to start the SpringBoot service:
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot