Updated on 2024-08-16 GMT+08:00

Flink 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.

Common Concepts of Flink Application Development

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 a Local Application Development Environment

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 Flink 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.

Flink DataStream Development Plan

Compile and run an application.

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

Compiling and Running a Flink Application

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 the Running Result of a Flink Application

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.

Flink Performance Tuning Suggestions