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

Development Process

This document describes Storm topology development based on the Java API.

Figure 1 shows the development process.

Figure 1 Topology development process
Table 1 Description about Storm application development process

Phase

Description

Reference Document

Understand the basic concepts.

Before application development, understand common concepts about Storm, understand the scenario requirements, and topologies.

Common Concepts

Prepare the development and operating environment.

The Java language is recommended for Storm application development. The IntelliJ IDEA tool can be used.

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

Preparing for Development and Operating Environment

Prepare projects.

Storm provides sample projects for different scenarios. You can import a sample project to learn the application.

Configuring and Importing Sample Projects

Develop topologies based on scenarios.

The Storm topology construction and Spout/Bolt development process are provided.

Developing an Application

Package the IntelliJ IDEA code.

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

Packaging IntelliJ IDEA Code

Package services.

Combine the JAR package generated from the IntelliJ IDEA code and the project dependent JAR package to generate the source.jar package that can be submitted.

Packaging Services

Submit a topology.

Submit the developed application for running.

Submitting a Topology

View application running results.

Check the program running result after submitting topologies.

Viewing Results