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

Development Process

This document describes how to develop CQL applications based on Java APIs.

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

Figure 1 CQL application development process
Table 1 CQL application development process

Phase

Description

Reference Document

Understand the basic concepts.

Before application development, learn basic concepts of CQL and understand the scenario requirements.

Common Concepts

Prepare the development and operating environment.

Use the IntelliJ IDEA tool to call Java APIs to develop CQL applications.

The CQL operating environment is a Storm client. Install and configure the client according to the guide.

Preparing for Development and Operating Environment

Prepare projects.

CQL provides sample projects for different scenarios. You can import a sample project to learn applications.

Configuring and Importing Sample Projects

Develop projects based on scenarios.

Sample projects are provided, including projects about how to generate random numbers and how to collect statistics by condition.

Developing an Application

Compile and run applications.

Storm sample applications are running in the Linux OS. IntelliJ IDEA code needs to be packaged into a JAR package.

Running an Application

View application running results.

Application running results are exported to a path you specify. You can also view the application running status on the UI.

Viewing Commissioning Results