Updated on 2022-09-14 GMT+08:00

Application Development Process

Figure 1 and Table 1 describe the phases in the development process.

Figure 1 Flink application development process
Table 1 Description of the Flink application development process

Phase

Description

Reference

Understand basic concepts.

Before the development process, you are advised to gain a basic understanding of Flink.

Basic Concepts

Prepare development and operating environments.

Flink applications can be developed in Scala or Java. You are advised to use the IDEA tool to configure development environments in different languages according to the guide. The Flink operating environment is a Flink client. Install and configure the client according to the guide.

Preparing Development and Operating Environments

Prepare a project.

Flink provides sample projects. You can import a sample project to learn the application. You can also create a Flink project according to the guide.

Configuring and Importing a Sample Project

Develop a project based on the scenario.

Sample projects in Scala and Java are provided to help you quickly understand APIs of Flink components.

Scenario Description

Compile and run an application.

You can compile the developed application and submit it for running.

Compiling and Running Applications

View application running results.

Application running results are stored in a path specified by you. You can also view application running status on the UI.

Viewing Commissioning Results

Tune the application.

Tune the application to meet certain service requirements.

After the application tuning is complete, the application needs to be compiled and run again.

Performance Tuning